[freeside-commits] branch FREESIDE_3_BRANCH updated. 2bc72d758fc28a4a8beb24d7a93d5502d0355ca6
Ivan
ivan at 420.am
Fri Oct 23 16:15:22 PDT 2015
The branch, FREESIDE_3_BRANCH has been updated
via 2bc72d758fc28a4a8beb24d7a93d5502d0355ca6 (commit)
from 275239995f6b9888e470e4128287fba4d56df790 (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 2bc72d758fc28a4a8beb24d7a93d5502d0355ca6
Author: Ivan Kohler <ivan at freeside.biz>
Date: Fri Oct 23 16:15:21 2015 -0700
silent harmless param in list context warning
diff --git a/httemplate/misc/sales.cgi b/httemplate/misc/sales.cgi
index 2b6406a..5d9d6c6 100644
--- a/httemplate/misc/sales.cgi
+++ b/httemplate/misc/sales.cgi
@@ -1,7 +1,7 @@
<% encode_json( \@return ) %>\
<%init>
-my( $agentnum ) = $cgi->param('arg');
+my $agentnum = scalar($cgi->param('arg'));
my %hash = ( 'disabled' => '' );
if ( $agentnum > 0 ) {
-----------------------------------------------------------------------
Summary of changes:
httemplate/misc/sales.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list