From: ivan Date: Tue, 11 May 2004 11:58:43 +0000 (+0000) Subject: this has been an evening of logical negation X-Git-Tag: freeside_1_4_2beta1~101 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=d974d3b3105fd4fa44190f3cbf1dc2b85000048c;p=freeside.git this has been an evening of logical negation --- diff --git a/httemplate/edit/svc_www.cgi b/httemplate/edit/svc_www.cgi index dd15e6da5..e9596da33 100644 --- a/httemplate/edit/svc_www.cgi +++ b/httemplate/edit/svc_www.cgi @@ -105,7 +105,7 @@ if ($pkgnum) { qsearchs( 'svc_domain', { 'svcnum' => $i_cust_svc->svcnum } ); my $extra_sql = "AND ( rectype = 'A' OR rectype = 'CNAME' )"; - if ( $conf->exists('svc_www-enable_subdomains') ) { + unless ( $conf->exists('svc_www-enable_subdomains') ) { $extra_sql .= " AND ( reczone = '@' OR reczone = '". $svc_domain->domain. ".' )"; }