projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e37e561
)
stop setting report_option_ to 1
author
ivan
<ivan>
Thu, 4 Nov 2010 22:57:13 +0000
(22:57 +0000)
committer
ivan
<ivan>
Thu, 4 Nov 2010 22:57:13 +0000
(22:57 +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
08cc140
..
97ae4e7
100755
(executable)
--- a/
httemplate/edit/process/part_pkg.cgi
+++ b/
httemplate/edit/process/part_pkg.cgi
@@
-103,7
+103,7
@@
my $args_callback = sub {
$options{"usage_taxproductnum_$_"} = $value;
}
- foreach ( $cgi->param('report_option') ) {
+ foreach (
grep $_,
$cgi->param('report_option') ) {
$error ||= "Illegal optional report class: $_" unless ( $_ =~ /^\d*$/ );
$options{"report_option_$_"} = 1;
}