From a29e87197c593e4e6b9eb8e66bf03ea61006a5af Mon Sep 17 00:00:00 2001 From: khoff Date: Mon, 5 Mar 2007 19:48:16 +0000 Subject: [PATCH] Fixed a problem with the %opts hash getting skewed (specifically $opt{'value'} == 'label') when $cgi->param('agentnum') was unset. --- httemplate/search/report_cust_bill.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: ', ) %> -- 2.11.0