From: khoff Date: Mon, 5 Mar 2007 19:48:16 +0000 (+0000) Subject: Fixed a problem with the %opts hash getting skewed (specifically $opt{'value'} =... X-Git-Tag: TRIXBOX_2_6~605 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=a29e87197c593e4e6b9eb8e66bf03ea61006a5af;p=freeside.git Fixed a problem with the %opts hash getting skewed (specifically $opt{'value'} == 'label') when $cgi->param('agentnum') was unset. --- diff --git a/httemplate/search/report_cust_bill.html b/httemplate/search/report_cust_bill.html index 4fa09f96c..74b96cc90 100644 --- a/httemplate/search/report_cust_bill.html +++ b/httemplate/search/report_cust_bill.html @@ -5,7 +5,7 @@ <% include( '/elements/tr-select-agent.html', - $cgi->param('agentnum'), + $cgi->param('agentnum') ? $cgi->param('agentnum') : '', 'label' => 'Invoices for agent: ', ) %>