projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b53214c
)
fix select multiple report option
author
jeff
<jeff>
Mon, 24 Aug 2009 06:13:31 +0000
(06:13 +0000)
committer
jeff
<jeff>
Mon, 24 Aug 2009 06:13:31 +0000
(06:13 +0000)
httemplate/edit/process/part_pkg.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/process/part_pkg.cgi
b/httemplate/edit/process/part_pkg.cgi
index
7229f30
..
019224c
100755
(executable)
--- a/
httemplate/edit/process/part_pkg.cgi
+++ b/
httemplate/edit/process/part_pkg.cgi
@@
-93,6
+93,7
@@
my $args_callback = sub {
}
( $optionname => $value );
}
}
( $optionname => $value );
}
+ grep { $_ !~ /^report_option_/ }
@options;
foreach ( split(',', $cgi->param('taxproductnums') ) ) {
@options;
foreach ( split(',', $cgi->param('taxproductnums') ) ) {
@@
-102,7
+103,7
@@
my $args_callback = sub {
$options{"usage_taxproductnum_$_"} = $value;
}
$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;
}
$error ||= "Illegal optional report class: $_" unless ( $_ =~ /^\d*$/ );
$options{"report_option_$_"} = 1;
}