summaryrefslogtreecommitdiff
path: root/httemplate/search/477partVI_census.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/477partVI_census.html')
-rwxr-xr-xhttemplate/search/477partVI_census.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/httemplate/search/477partVI_census.html b/httemplate/search/477partVI_census.html
index dbaaaab61..15d2b814b 100755
--- a/httemplate/search/477partVI_census.html
+++ b/httemplate/search/477partVI_census.html
@@ -1,6 +1,6 @@
<% include( 'elements/search.html',
'html_init' => $html_init,
- 'html_foot' => $html_foot,,
+ 'html_foot' => $html_foot,
'name' => 'regions',
'query' => [ @sql_query ],
'count_query' => $count_query,
@@ -32,10 +32,10 @@
sub { my $row = shift;
my $state = substr($row->censustract, 0, 2);
$state_hash{$state}++;
- substr($row->censustract, 2, 3) || 'None'
+ substr($row->censustract, 2, 3) || 'None';
},
sub { my $row = shift;
- substr($row->censustract, 5) || 'None'
+ substr($row->censustract, 5) || 'None';
},
'upload',
'download',
@@ -81,7 +81,8 @@ my %state_pkgcount = ();
for ( qw(agentnum magic) ) {
$search_hash{$_} = $cgi->param($_) if $cgi->param($_);
}
-$search_hash{'classnum'} = [ $cgi->param('classnum') ];
+$search_hash{'classnum'} = [ $cgi->param('classnum') ]
+ if grep { $_ eq 'classnum' } $cgi->param;
my @column_option = grep { /^\d+$/ } $cgi->param('part1_column_option')
if $cgi->param('part1_column_option');