X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fsales.cgi;h=5d9d6c6d174051a85ebcf6aa8d17f12fcaed5d88;hp=2b6406a686608a25a7600f419e30c620ffedab8d;hb=e803d5f00368e951f7a4b82d5d390b53c4a6c827;hpb=3ea60431d09fb8d3b7e7bf47ec6357384b0d27db 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 ) {