Kaynağa Gözat

clientareafunctions

andre 3 yıl önce
ebeveyn
işleme
36cb72242a
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      cwp7.php

+ 2 - 2
cwp7.php

@@ -396,7 +396,7 @@ function cwp7CheckSOA($domain) {
 		$responseArray = str_getcsv($response, "\n");
 		foreach($responseArray as $row) {
 			if(str_starts_with($row, 'whois')) {
-				$whoisServer = array_slice(explode(' ', $row), -1, 1);
+				$whoisServer = array_slice(explode(' ', $row), -1, 1)[0];
 			}
 		}
 	} else {
@@ -414,7 +414,7 @@ function cwp7CheckSOA($domain) {
 		__FUNCTION__,
 		$tld[0],
 		'debug2',
-		$whoisServer[0]
+		$whoisServer
 	);
 	return 'none';
 }