summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/svc_domain.cgi
diff options
context:
space:
mode:
authorivan <ivan>2010-02-17 08:32:53 +0000
committerivan <ivan>2010-02-17 08:32:53 +0000
commitcc647ae934abe5c9d9a5fc12f020adfc566349d9 (patch)
treec2181b801385a5b040186f9414c2a84e4cf20766 /httemplate/edit/process/svc_domain.cgi
parentaf5b5947a7bcb13a94a84bb2b20c80a2778e0f35 (diff)
communigate pro provisioning, RT#7083
Diffstat (limited to 'httemplate/edit/process/svc_domain.cgi')
-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>