Ver Fonte

clientareafunctions

andre há 3 anos atrás
pai
commit
6bda211255
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      cwp7.php

+ 1 - 1
cwp7.php

@@ -396,7 +396,7 @@ function cwp7CheckSOA($domain) {
 		$responseArray = str_getcsv($response, "\n");
 		$responseArray = str_getcsv($response, "\n");
 		foreach($responseArray as $row) {
 		foreach($responseArray as $row) {
 			if(str_starts_with($row, 'whois')) {
 			if(str_starts_with($row, 'whois')) {
-				$whoisServer = array_slice(explode(':', $domain), -1, 1);
+				$whoisServer = array_slice(explode(':', $row), -1, 1);
 			}
 			}
 		}
 		}
 	} else {
 	} else {