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