From b63c0c3c72a7239ba652cd14165773d72c50def7 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 28 Apr 2011 12:39:23 -0700 Subject: [PATCH] Ignore empty email whitelist string --- plugins/DomainWhitelist/DomainWhitelistPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5