[freeside-commits] freeside/httemplate/edit/process part_pkg.cgi, 1.41, 1.42
Jeff Finucane,420,,
jeff at wavetail.420.am
Sun Aug 23 23:13:33 PDT 2009
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv2790
Modified Files:
part_pkg.cgi
Log Message:
fix select multiple report option
Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/part_pkg.cgi,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- part_pkg.cgi 20 Jul 2009 14:26:12 -0000 1.41
+++ part_pkg.cgi 24 Aug 2009 06:13:31 -0000 1.42
@@ -93,6 +93,7 @@
}
( $optionname => $value );
}
+ grep { $_ !~ /^report_option_/ }
@options;
foreach ( split(',', $cgi->param('taxproductnums') ) ) {
@@ -102,7 +103,7 @@
$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;
}
More information about the freeside-commits
mailing list