diff options
author | jeff <jeff> | 2009-07-27 03:26:47 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-07-27 03:26:47 +0000 |
commit | f3717767d19f9da888e190f87a04dfa245d658b4 (patch) | |
tree | 198b6454ec80efd88096d5574feb5c83bf827a20 /httemplate/search | |
parent | 6a8c7c021a01b85ce172a230757b000fe2959a31 (diff) |
FCC from 477 improvements #4912
Diffstat (limited to 'httemplate/search')
-rwxr-xr-x | httemplate/search/cust_pkg.cgi | 6 |
1 files changed, 5 insertions, 1 deletions
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'); |