summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorjeff <jeff>2009-08-24 06:13:31 +0000
committerjeff <jeff>2009-08-24 06:13:31 +0000
commit93b257faa664416be7cface1a5663da0a86b7caf (patch)
treeb4ffbd35d01fd523f1fb2de30064c9de30ac5a74 /httemplate
parentb53214c810513eda313fb7aea5405fb02a3b94c5 (diff)
fix select multiple report option
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/edit/process/part_pkg.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/edit/process/part_pkg.cgi b/httemplate/edit/process/part_pkg.cgi
index 7229f305d..019224c4e 100755
--- a/httemplate/edit/process/part_pkg.cgi
+++ b/httemplate/edit/process/part_pkg.cgi
@@ -93,6 +93,7 @@ my $args_callback = sub {
}
( $optionname => $value );
}
+ grep { $_ !~ /^report_option_/ }
@options;
foreach ( split(',', $cgi->param('taxproductnums') ) ) {
@@ -102,7 +103,7 @@ my $args_callback = sub {
$options{"usage_taxproductnum_$_"} = $value;
}
- foreach ( split(',', $cgi->param('report_option') ) ) {
+ foreach ( $cgi->param('report_option') ) {
$error ||= "Illegal optional report class: $_" unless ( $_ =~ /^\d*$/ );
$options{"report_option_$_"} = 1;
}