diff options
author | jeff <jeff> | 2007-05-07 02:13:54 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-05-07 02:13:54 +0000 |
commit | 29a9975eb7068a20fd8538a1cad7e6a90bb77cc5 (patch) | |
tree | 41f23bbae53c5a1f1ad0b785cf14d2dd980576f6 /httemplate/misc/process/link.cgi | |
parent | 596fe22104792b042efff8b2f690a052c177b17a (diff) |
1606 correct bug in overlimit groups handling
Diffstat (limited to 'httemplate/misc/process/link.cgi')
-rwxr-xr-x | httemplate/misc/process/link.cgi | 8 |
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); %} |