[freeside-commits] branch master updated. 0a82a991ededecdc099a6a169b41a4d952a53f3b
Ivan Kohler
ivan at freeside.biz
Wed Apr 15 11:37:20 PDT 2020
The branch, master has been updated
via 0a82a991ededecdc099a6a169b41a4d952a53f3b (commit)
from 863494143aec94688b67e8dd423977aa8bca1fed (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 0a82a991ededecdc099a6a169b41a4d952a53f3b
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Apr 15 11:37:19 2020 -0700
CGI::param called in list context
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi
index 3cc55f348..cf32324f0 100755
--- a/httemplate/edit/cust_main.cgi
+++ b/httemplate/edit/cust_main.cgi
@@ -303,7 +303,7 @@ if ( $cgi->param('error') ) {
$cust_main->agentnum( $conf->config('default_agentnum') )
if $conf->exists('default_agentnum');
- $cust_main->referral_custnum( $cgi->param('referral_custnum') );
+ $cust_main->referral_custnum( scalar($cgi->param('referral_custnum')) );
$cust_main->set('postal_invoice', 'Y')
unless $conf->exists('disablepostalinvoicedefault');
$ss = '';
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/cust_main.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list