summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2003-03-29 04:52:35 +0000
committerivan <ivan>2003-03-29 04:52:35 +0000
commitcf2fc14c810b05159f4eff19f54b85b13709f812 (patch)
tree0537c777992e3ce41f591b156fb014eed2ac97ff /httemplate
parent0ac23bce2a57b22a9326488ce1e41e17d51aef1e (diff)
correct web UI for svc_www services & no more @.domain in www_shellcommands export
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/view/svc_www.cgi6
1 files changed, 1 insertions, 5 deletions
diff --git a/httemplate/view/svc_www.cgi b/httemplate/view/svc_www.cgi
index 9fa9661b1..442614491 100644
--- a/httemplate/view/svc_www.cgi
+++ b/httemplate/view/svc_www.cgi
@@ -28,11 +28,7 @@ my $email = $svc_acct->email;
my $domain_record = qsearchs('domain_record', { 'recnum' => $svc_www->recnum } )
or die "svc_www: Unknown recnum ". $svc_www->recnum;
-my $www = $domain_record->reczone;
-unless ( $www =~ /\.$/ ) {
- my $svc_domain = qsearchs('svc_domain', { svcnum=>$domain_record->svcnum } );
- $www .= '.'. $svc_domain->domain;
-}
+my $www = $domain_record->zone;
print header('Website View', menubar(
( ( $custnum )