diff options
author | Ivan Kohler <ivan@freeside.biz> | 2022-04-27 12:18:43 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2022-04-27 12:18:43 -0700 |
commit | bf9b266acafce57cfa532801c00d45dc4eab765c (patch) | |
tree | c6f438b8ebec2a060e3e5db0897fa4fd2c91d7ce /httemplate/edit/process | |
parent | 5c93b49cd87b0a7ea63ca2e40ee29cc1d1be13b4 (diff) |
quiet warnings about CGI::param in list context
Diffstat (limited to 'httemplate/edit/process')
-rwxr-xr-x | httemplate/edit/process/cust_main.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi index 18017fdb9..d4578d296 100755 --- a/httemplate/edit/process/cust_main.cgi +++ b/httemplate/edit/process/cust_main.cgi @@ -62,7 +62,7 @@ $cgi->param('duplicate_of_custnum') =~ /^(\d+)$/; my $duplicate_of = $1; # if this is enabled, enforce it -if ( $conf->exists('agent-ship_address', $cgi->param('agentnum')) ) { +if ( $conf->exists('agent-ship_address', scalar($cgi->param('agentnum'))) ) { my $agent = FS::agent->by_key($cgi->param('agentnum')); my $agent_cust_main = $agent->agent_cust_main; if ( $agent_cust_main ) { |