X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_pkg.cgi;h=c4a3e84873e7d734d6df33cbc8c40e1894388d38;hb=6a4c1c940598c493847c2108eba6f9fbf3b6c5e5;hp=1c34d3b8a5f72306724c21015990d244ce153fae;hpb=1e5db35fac1efb929a00e7f1e3b17fe4046b54a2;p=freeside.git
diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi
index 1c34d3b8a..c4a3e8487 100755
--- a/httemplate/search/cust_pkg.cgi
+++ b/httemplate/search/cust_pkg.cgi
@@ -184,9 +184,8 @@ for my $param (qw( censustract censustract2 )) {
if grep { $_ eq $param } $cgi->param;
}
-my @report_option = $cgi->param('report_option')
- if $cgi->param('report_option');
-$search_hash{report_option} = join(',', @report_option) if @report_option;
+my $report_option = $cgi->param('report_option');
+$search_hash{report_option} = $report_option if $report_option;
###
# parse dates
@@ -289,7 +288,7 @@ my $html_init = sub {
$text .= include( '/elements/email-link.html',
'search_hash' => \%search_hash,
'table' => 'cust_pkg',
- );
+ ). '
';
}
return $text;
};