[freeside-commits] branch FREESIDE_3_BRANCH updated. 80a11e51231d20ae1007df1b09a29c98df74fcdf

Ivan Kohler ivan at freeside.biz
Wed Apr 15 11:38:16 PDT 2020


The branch, FREESIDE_3_BRANCH has been updated
       via  80a11e51231d20ae1007df1b09a29c98df74fcdf (commit)
      from  8b310db7a6bd5216b6df9bc9843ce99898a7bee9 (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 80a11e51231d20ae1007df1b09a29c98df74fcdf
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Apr 15 11:38:15 2020 -0700

    CGI::param called in list context

diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi
index 706435af1..b2b4b35f4 100755
--- a/httemplate/edit/cust_main.cgi
+++ b/httemplate/edit/cust_main.cgi
@@ -326,7 +326,7 @@ if ( $cgi->param('error') ) {
     if $conf->exists('default_agentnum');
 
   $cust_main->otaker( &getotaker );
-  $cust_main->referral_custnum( $cgi->param('referral_custnum') );
+  $cust_main->referral_custnum( scalar($cgi->param('referral_custnum')) );
   @invoicing_list = ();
   push @invoicing_list, 'POST'
     unless $conf->exists('disablepostalinvoicedefault');

-----------------------------------------------------------------------

Summary of changes:
 httemplate/edit/cust_main.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list