[freeside-commits] branch FREESIDE_4_BRANCH updated. 97d4462a788b0f6aaf951422c098f5c91f4d62c3

Ivan Kohler ivan at freeside.biz
Wed Apr 15 11:37:27 PDT 2020


The branch, FREESIDE_4_BRANCH has been updated
       via  97d4462a788b0f6aaf951422c098f5c91f4d62c3 (commit)
      from  3b31b28c5babb7858f3c03177ecea1585ffd9f8a (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 97d4462a788b0f6aaf951422c098f5c91f4d62c3
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Apr 15 11:37:26 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