[freeside-commits] branch FREESIDE_3_BRANCH updated. 20fd2b82dfea4520a7f36584df36a1e695fe0cc2
Ivan Kohler
ivan at freeside.biz
Wed Apr 27 12:18:50 PDT 2022
The branch, FREESIDE_3_BRANCH has been updated
via 20fd2b82dfea4520a7f36584df36a1e695fe0cc2 (commit)
from 4b0a31271add1a8cb674968127725004a8419b21 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 20fd2b82dfea4520a7f36584df36a1e695fe0cc2
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Apr 27 12:18:49 2022 -0700
quiet warnings about CGI::param in list context
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi
index d277e17b1..fb629021a 100755
--- a/httemplate/edit/process/cust_main.cgi
+++ b/httemplate/edit/process/cust_main.cgi
@@ -76,7 +76,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 ) {
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/process/cust_main.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list