diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-10-23 16:17:44 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-10-23 16:17:44 -0700 |
commit | 3b1a5e8789d76f0581079d07190664f57bd773a3 (patch) | |
tree | 2fd7c5d39e68f6a19f32780fbc8fc2e267ce76b5 /httemplate/misc | |
parent | 6b1a8c7316892165fa4dc8b66bb962bf113aa3d8 (diff) |
silent harmless param in list context warning
Diffstat (limited to 'httemplate/misc')
-rw-r--r-- | httemplate/misc/sales.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/misc/sales.cgi b/httemplate/misc/sales.cgi index 2b6406a68..5d9d6c6d1 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 ) { |