Update WhoisService.php
This commit is contained in:
@@ -499,7 +499,7 @@ class WhoisService
|
|||||||
|
|
||||||
// Check if domain is not found/available
|
// Check if domain is not found/available
|
||||||
$whoisDataLower = strtolower($whoisData);
|
$whoisDataLower = strtolower($whoisData);
|
||||||
if (preg_match('/not found|no match|no entries found|no data found|domain not found|no such domain|not registered|available for registration|does not exist|queried object does not exist/i', $whoisDataLower)) {
|
if (preg_match('/not found|no match|no entries found|no data found|domain not found|no such domain|not registered|available for registration|does not exist|queried object does not exist|is free/i', $whoisDataLower)) {
|
||||||
$data['status'][] = 'AVAILABLE';
|
$data['status'][] = 'AVAILABLE';
|
||||||
$data['registrar'] = 'Not Registered';
|
$data['registrar'] = 'Not Registered';
|
||||||
return $data;
|
return $data;
|
||||||
|
|||||||
Reference in New Issue
Block a user