[fix] whois() doesn't work and prevent a legitimate install. We comment-out the 'non existing' scenario for now. See #195

This commit is contained in:
Benjamin Sonntag 2017-10-07 15:45:33 +02:00
parent 835cc00836
commit 7fcd2e359b
1 changed files with 2 additions and 2 deletions

View File

@ -1084,14 +1084,14 @@ class m_dom {
fclose($fp);
} else {
$msg->raise("ALERT", "dom", _("The Whois database is unavailable, please try again later"));
return false;
return array();
}
if ($found) {
return $serveurList;
} else {
$msg->raise("ALERT", "dom", _("The domain cannot be found in the Whois database"));
return false;
return array();
}
} // whois