summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorjeff <jeff>2007-05-07 02:13:54 +0000
committerjeff <jeff>2007-05-07 02:13:54 +0000
commit29a9975eb7068a20fd8538a1cad7e6a90bb77cc5 (patch)
tree41f23bbae53c5a1f1ad0b785cf14d2dd980576f6 /httemplate
parent596fe22104792b042efff8b2f690a052c177b17a (diff)
1606 correct bug in overlimit groups handling
Diffstat (limited to 'httemplate')
-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);
%}