Browse Source

clientareafunctions

andre 3 years ago
parent
commit
0de5ed5238
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cwp7.php

+ 2 - 2
cwp7.php

@@ -200,7 +200,7 @@ function cwp7_ClientArea($params){
 				$domain['ssl'] = 1;
 				$domain['sslexpire'] = $sslSites[$domain['domain']]['expire'];
 				$domain['autossl'] = $sslSites[$domain['domain']]['auotssl'];
-				if(cwp7CheckDNS($domain['domain'])) {
+				if(cwp7CheckDNS($domain['domain']) == 1) {
 					$domain['DNS'] = 1;
 				}
 			}
@@ -212,7 +212,7 @@ function cwp7_ClientArea($params){
 						$subDomain['ssl'] = 1;
 						$subDomain['sslexpire'] = $sslSites[$subFQDN]['expire'];
 						$subDomain['autossl'] = $sslSites[$subFQDN]['auotssl'];
-						if(cwp7CheckDNS($domain['domain'])) {
+						if(cwp7CheckDNS($domain['domain']) == 1) {
 							$subDomain['DNS'] = 1;
 						}
 					} else {