diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-09-25 14:49:44 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-09-25 14:49:44 -0700 |
commit | a6a4b17cbf6359fecde5135727a59b1f7b54cd9f (patch) | |
tree | 978da1610c9e6b80bf2c6f2bc41257bbcd3d6779 /httemplate/view | |
parent | 840dbc8beed6098e3b7ae17dc2553a39f5476553 (diff) |
scalar cgi param
Diffstat (limited to 'httemplate/view')
-rwxr-xr-x | httemplate/view/cust_bill-barcode.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/view/cust_bill-barcode.cgi b/httemplate/view/cust_bill-barcode.cgi index dd8f8b814..b55c28541 100755 --- a/httemplate/view/cust_bill-barcode.cgi +++ b/httemplate/view/cust_bill-barcode.cgi @@ -8,7 +8,7 @@ my $conf = new FS::Conf; die 'invalid query' unless $cgi->param('invnum'); -my $cust_bill = qsearchs('cust_bill', { 'invnum' => $cgi->param('invnum') } ) +my $cust_bill = qsearchs('cust_bill', { 'invnum' => scalar($cgi->param('invnum')) } ) or die 'unknown invnum'; my $png = $cust_bill->invoice_barcode(0); |