summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
authorjeff <jeff>2007-05-07 02:22:02 +0000
committerjeff <jeff>2007-05-07 02:22:02 +0000
commitec624065aaf72c09e7de1d0da680b215c488022e (patch)
tree1629b18ae399155d303f440970486efcd5cf1017 /httemplate/misc/process
parentebe9a485cb9d34c2017f903beb432d15d741b937 (diff)
1606 correct bug in overlimit groups handling (backport)
Diffstat (limited to 'httemplate/misc/process')
-rwxr-xr-xhttemplate/misc/process/link.cgi8
1 files changed, 3 insertions, 5 deletions
diff --git a/httemplate/misc/process/link.cgi b/httemplate/misc/process/link.cgi
index fd3d8bb13..7c71371ee 100755
--- a/httemplate/misc/process/link.cgi
+++ b/httemplate/misc/process/link.cgi
@@ -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);
%}