summaryrefslogtreecommitdiff
path: root/httemplate/edit/process
diff options
context:
space:
mode:
authorivan <ivan>2010-02-17 08:32:54 +0000
committerivan <ivan>2010-02-17 08:32:54 +0000
commitfd6db4b21d588dd968c3b31ecb77c638a3ff90a2 (patch)
treee145079215156dedb84831654c3a0cba8862e029 /httemplate/edit/process
parent6ebd13300f76f6626ba467f22701d25d9462e18c (diff)
communigate pro provisioning, RT#7083
Diffstat (limited to 'httemplate/edit/process')
-rwxr-xr-xhttemplate/edit/process/svc_domain.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/httemplate/edit/process/svc_domain.cgi b/httemplate/edit/process/svc_domain.cgi
index 59b518097..d8c1a1298 100755
--- a/httemplate/edit/process/svc_domain.cgi
+++ b/httemplate/edit/process/svc_domain.cgi
@@ -24,10 +24,10 @@ my $new = new FS::svc_domain ( {
my $error = '';
if ($cgi->param('svcnum')) {
- $error="Can't modify a domain!";
+ $error = $new->replace();
} else {
- $error=$new->insert;
- $svcnum=$new->svcnum;
+ $error = $new->insert;
+ $svcnum = $new->svcnum;
}
</%init>