[freeside-commits] freeside/FS/FS svc_acct.pm,1.186,1.187

Ivan,,, ivan at wavetail.420.am
Thu Oct 13 14:16:44 PDT 2005


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv8659/FS/FS

Modified Files:
	svc_acct.pm 
Log Message:
Fix 'can't change uid' error when the account *has* a uid but svc_acct-edit_uid isn't turned on

Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -d -r1.186 -r1.187
--- svc_acct.pm	3 Oct 2005 01:41:44 -0000	1.186
+++ svc_acct.pm	13 Oct 2005 21:16:42 -0000	1.187
@@ -472,7 +472,8 @@
 
       return "Can't change $xid!"
         if ! $conf->exists("svc_acct-edit_$xid")
-           && $old->$xid() != $new->$xid();
+           && $old->$xid() != $new->$xid()
+           && $new->cust_svc->part_svc->part_svc_column($xid)->columnflag ne 'F'
     }
 
   }



More information about the freeside-commits mailing list