summaryrefslogtreecommitdiff
path: root/httemplate/view/svc_www.cgi
diff options
context:
space:
mode:
authorivan <ivan>2003-03-29 04:53:44 +0000
committerivan <ivan>2003-03-29 04:53:44 +0000
commit48f60f666bab22a3ca5196cf6cd573b8691e4aae (patch)
tree51e268203fd9fc25cb82b51b6b55d9cf75a297a5 /httemplate/view/svc_www.cgi
parent7c5c428f8f102c672dd18ff0c02aaee82f5753d4 (diff)
correct web UI for svc_www services & no more @.domain in www_shellcommands export
Diffstat (limited to 'httemplate/view/svc_www.cgi')
-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 )