[freeside-commits] freeside/httemplate/edit/process cust_pkg.cgi, 1.9, 1.10
Ivan,,,
ivan at wavetail.420.am
Fri Mar 14 01:13:34 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv26818
Modified Files:
cust_pkg.cgi
Log Message:
whew, glad that change package bugfix was easy to find, closes: Bug#3241
Index: cust_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_pkg.cgi,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- cust_pkg.cgi 4 Mar 2008 19:15:05 -0000 1.9
+++ cust_pkg.cgi 14 Mar 2008 08:13:32 -0000 1.10
@@ -36,11 +36,16 @@
$action = 'change';
$error_redirect = "misc/change_pkg.cgi";
- @pkgparts = ($1);
die "access denied"
unless $curuser->access_right('Change customer package');
+ if ( $cgi->param('new_pkgpart') =~ /^(\d+)$/ ) {
+ @pkgparts = ($1);
+ } else {
+ $error = 'Select a new package';
+ }
+
} elsif ( $cgi->param('action') eq 'bulk' ) { #came from edit/cust_pkg.cgi
$action = 'bulk';
More information about the freeside-commits
mailing list