diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-10-23 16:15:21 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-10-23 16:15:21 -0700 |
commit | 2bc72d758fc28a4a8beb24d7a93d5502d0355ca6 (patch) | |
tree | d37dce0cc860a626ba5854c3d6321664967becc2 /httemplate/misc | |
parent | 275239995f6b9888e470e4128287fba4d56df790 (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 ) { |