projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b1a8c7
)
silent harmless param in list context warning
author
Ivan Kohler
<ivan@freeside.biz>
Fri, 23 Oct 2015 23:17:44 +0000
(16:17 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Fri, 23 Oct 2015 23:17:44 +0000
(16:17 -0700)
httemplate/misc/sales.cgi
patch
|
blob
|
history
diff --git
a/httemplate/misc/sales.cgi
b/httemplate/misc/sales.cgi
index
2b6406a
..
5d9d6c6
100644
(file)
--- 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 ) {