summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_pkg.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/cust_pkg.cgi')
-rwxr-xr-xhttemplate/search/cust_pkg.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi
index 9ec0c8425..b30a2d58a 100755
--- a/httemplate/search/cust_pkg.cgi
+++ b/httemplate/search/cust_pkg.cgi
@@ -177,7 +177,8 @@ for (qw( pkgpart classnum )) {
$search_hash{$_} = [ $cgi->param($_) ];
}
-for my $param ( qw(censustract) ) {
+#scalars that need to be passed if empty
+for my $param (qw(censustract censustract2 )) {
$search_hash{$param} = $cgi->param($param) || ''
if ( grep { /$param/ } $cgi->param );
}