[freeside-commits] freeside/FS/FS svc_acct.pm,1.201,1.202
Ivan,,,
ivan at wavetail.420.am
Wed Aug 9 03:47:20 PDT 2006
- Previous message: [freeside-commits] freeside/fs_selfservice/FS-SelfService
SelfService.pm, 1.21, 1.22
- Next message: [freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi
change_password.html, NONE, 1.1 myaccount_menu.html, 1.2,
1.3 process_change_password.html, NONE,
1.1 provision_list.html, 1.3, 1.4 selfservice.cgi, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv13115/FS/FS
Modified Files:
svc_acct.pm
Log Message:
self-service interface: add proper password changer and prevent "Setup my services" provisioner from showing broken links for services not handled yet
Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.201
retrieving revision 1.202
diff -u -d -r1.201 -r1.202
--- svc_acct.pm 6 Aug 2006 20:21:32 -0000 1.201
+++ svc_acct.pm 9 Aug 2006 10:47:18 -0000 1.202
@@ -484,6 +484,11 @@
my $error;
warn "$me replacing $old with $new\n" if $DEBUG;
+ # We absolutely have to have an old vs. new record to make this work.
+ if (!defined($old)) {
+ $old = qsearchs( 'svc_acct', { 'svcnum' => $new->svcnum } );
+ }
+
return "can't modify system account" if $old->_check_system;
{
- Previous message: [freeside-commits] freeside/fs_selfservice/FS-SelfService
SelfService.pm, 1.21, 1.22
- Next message: [freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi
change_password.html, NONE, 1.1 myaccount_menu.html, 1.2,
1.3 process_change_password.html, NONE,
1.1 provision_list.html, 1.3, 1.4 selfservice.cgi, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list