[freeside-commits] freeside/httemplate/edit/process cust_pkg.cgi, 1.6.2.3, 1.6.2.4
Ivan,,,
ivan at wavetail.420.am
Fri Mar 14 01:13:35 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv26825
Modified Files:
Tag: FREESIDE_1_7_BRANCH
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.6.2.3
retrieving revision 1.6.2.4
diff -u -d -r1.6.2.3 -r1.6.2.4
--- cust_pkg.cgi 4 Mar 2008 19:15:06 -0000 1.6.2.3
+++ cust_pkg.cgi 14 Mar 2008 08:13:33 -0000 1.6.2.4
@@ -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