From: Ivan Kohler Date: Fri, 23 Oct 2015 23:17:51 +0000 (-0700) Subject: Merge branch 'master' of git.freeside.biz:/home/git/freeside X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=80c2d997c5c983344c530ecbb46f94f1c299b35f;hp=0806f9fdbf2086671c151b3bcb078dc008e96f6c;p=freeside.git Merge branch 'master' of git.freeside.biz:/home/git/freeside --- 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 ) {