X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2F477partVI_census.html;h=fe224edbad3ada26ca22b7c4e6fa6ccc16efe7da;hp=15d2b814bb3850b0db25a9f6e2f60c8aece4d72d;hb=4dc8bf3514ea36d834b238d5af0098779c4a44ad;hpb=ad927cf5dffe32101954ec0d97825313a546443c diff --git a/httemplate/search/477partVI_census.html b/httemplate/search/477partVI_census.html index 15d2b814b..fe224edba 100755 --- a/httemplate/search/477partVI_census.html +++ b/httemplate/search/477partVI_census.html @@ -144,10 +144,11 @@ my $link = 'cust_pkg.cgi?'. join(';', my $link_suffix = sub { my $row = shift; my $result = 'censustract='. $row->censustract. ';'; - $result .= 'report_option='. @row_option[$row->upload - 1] - if @row_option[$row->upload - 1]; - $result .= 'report_option='. @column_option[$row->download - 1] - if @column_option[$row->download - 1]; + my @ro = grep $_, + @row_option[$row->upload - 1], + @column_option[$row->download - 1], + ; + $result .= 'report_option='. join(',',@ro) if @ro; $result; };