[freeside-commits] freeside/httemplate/misc/process link.cgi, 1.15, 1.16
Jeff Finucane,420,,
jeff at wavetail.420.am
Sun May 6 19:13:57 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/misc/process
In directory wavetail:/home/jeff/freeside/httemplate/misc/process
Modified Files:
link.cgi
Log Message:
1606 correct bug in overlimit groups handling
Index: link.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/process/link.cgi,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- link.cgi 23 Aug 2006 22:25:38 -0000 1.15
+++ link.cgi 7 May 2007 02:13:54 -0000 1.16
@@ -52,11 +52,9 @@
%if ( $old->pkgnum && ! $conf->exists('legacy_link-steal') ) {
% $error = "svcnum $svcnum already linked to package ". $old->pkgnum;
%} else {
-% $new = new FS::cust_svc ({
-% 'svcnum' => $svcnum,
-% 'pkgnum' => $pkgnum,
-% 'svcpart' => $svcpart,
-% });
+% $new = new FS::cust_svc { $old->hash };
+% $new->pkgnum($pkgnum);
+% $new->svcpart($svcpart);
%
% $error = $new->replace($old);
%}
More information about the freeside-commits
mailing list