|
|
@@ -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';
|
|
|
}
|