From 7fcd2e359b8a265efe4be29be1991ad7b9fd2bfa Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Sat, 7 Oct 2017 15:45:33 +0200 Subject: [PATCH] [fix] whois() doesn't work and prevent a legitimate install. We comment-out the 'non existing' scenario for now. See #195 --- bureau/class/m_dom.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bureau/class/m_dom.php b/bureau/class/m_dom.php index 006f766c..96b2bc8a 100644 --- a/bureau/class/m_dom.php +++ b/bureau/class/m_dom.php @@ -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