fix "multiple states" links, RT#13922
authorivan <ivan>
Thu, 18 Aug 2011 23:59:23 +0000 (23:59 +0000)
committerivan <ivan>
Thu, 18 Aug 2011 23:59:23 +0000 (23:59 +0000)
httemplate/search/477partVI_census.html
httemplate/search/cust_pkg.cgi

index b65a570..534d872 100755 (executable)
@@ -173,7 +173,7 @@ my $html_foot = sub {
                      '</TD>'.
                      '<TD>'.
                        qq(<A HREF="${link}censustract2=$_$roa_r$roa_c$roa_t">).
-                       #can't get this count to match the link# $state_pkgcount{$_}.
+                       $state_pkgcount{$_}.
                       ' packages</A> in '.
                        $state_hash{$_}. ' census tracts'.
                      '</TD>'.
index 8f4cce1..297edee 100755 (executable)
@@ -164,7 +164,7 @@ for my $param (qw( censustract censustract2 )) {
 my $report_option = $cgi->param('report_option');
 $search_hash{report_option} = $report_option if $report_option;
 
-for my $param (grep /^report_option_any/, $cgi->params) {
+for my $param (grep /^report_option_any/, $cgi->param) {
   $search_hash{$param} = $cgi->param($param);
 }