andre 3 роки тому
батько
коміт
6bda211255
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      cwp7.php

+ 1 - 1
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(':', $domain), -1, 1);
+				$whoisServer = array_slice(explode(':', $row), -1, 1);
 			}
 		}
 	} else {