From f3717767d19f9da888e190f87a04dfa245d658b4 Mon Sep 17 00:00:00 2001 From: jeff Date: Mon, 27 Jul 2009 03:26:47 +0000 Subject: FCC from 477 improvements #4912 --- httemplate/search/cust_pkg.cgi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'httemplate/search/cust_pkg.cgi') diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi index a2ea3c582..f6a3620d3 100755 --- a/httemplate/search/cust_pkg.cgi +++ b/httemplate/search/cust_pkg.cgi @@ -162,10 +162,14 @@ my $money_char = $conf->config('money_char') || '$'; $search_hash{'query'} = $cgi->keywords; - for ( qw(agentnum magic status classnum pkgpart custom censustract) ) { + for ( qw(agentnum magic status classnum pkgpart custom ) ) { $search_hash{$_} = $cgi->param($_) if $cgi->param($_); } + for my $param ( qw(censustract) ) { + $search_hash{$param} = $cgi->param($param) || '' + if ( grep { /$param/ } $cgi->param ); + } my @report_option = $cgi->param('report_option') if $cgi->param('report_option'); -- cgit v1.2.1