[freeside-commits] branch FREESIDE_4_BRANCH updated. 5530d5dc026dcc9a859124b19195b7ee6d2d0fe9
Ivan
ivan at 420.am
Fri Oct 23 16:15:21 PDT 2015
The branch, FREESIDE_4_BRANCH has been updated
via 5530d5dc026dcc9a859124b19195b7ee6d2d0fe9 (commit)
from 8b8f7b84594f0927108f64997f57d7f945686070 (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 5530d5dc026dcc9a859124b19195b7ee6d2d0fe9
Author: Ivan Kohler <ivan at freeside.biz>
Date: Fri Oct 23 16:15:20 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