summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/svc_domain-defaultrecords.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/process/svc_domain-defaultrecords.cgi')
-rw-r--r--httemplate/edit/process/svc_domain-defaultrecords.cgi6
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/edit/process/svc_domain-defaultrecords.cgi b/httemplate/edit/process/svc_domain-defaultrecords.cgi
index feb58406c..ec3d221f3 100644
--- a/httemplate/edit/process/svc_domain-defaultrecords.cgi
+++ b/httemplate/edit/process/svc_domain-defaultrecords.cgi
@@ -1,4 +1,8 @@
-<% $cgi->redirect(popurl(3). "view/svc_domain.cgi?$svcnum") %>
+% if ( $error ) {
+% errorpage($error);
+% } else {
+<% $cgi->redirect(popurl(3). "view/svc_domain.cgi?$svcnum#dns") %>
+% }
<%init>
die "access denied"