From: Evan Prodromou Date: Thu, 28 Apr 2011 19:39:23 +0000 (-0700) Subject: Ignore empty email whitelist string X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b63c0c3c72a7239ba652cd14165773d72c50def7;p=quix0rs-gnu-social.git Ignore empty email whitelist string --- diff --git a/plugins/DomainWhitelist/DomainWhitelistPlugin.php b/plugins/DomainWhitelist/DomainWhitelistPlugin.php index bb63f666a1..4f8513238e 100644 --- a/plugins/DomainWhitelist/DomainWhitelistPlugin.php +++ b/plugins/DomainWhitelist/DomainWhitelistPlugin.php @@ -98,7 +98,7 @@ class DomainWhitelistPlugin extends Plugin { $whitelist = $this->getWhitelist(); - if (empty($whitelist)) { + if (empty($whitelist) || empty($whitelist[0])) { return true; }