Ignore empty email whitelist string

This commit is contained in:
Evan Prodromou 2011-04-28 12:39:23 -07:00
parent fad0c875ca
commit b63c0c3c72

View File

@ -98,7 +98,7 @@ class DomainWhitelistPlugin extends Plugin
{
$whitelist = $this->getWhitelist();
if (empty($whitelist)) {
if (empty($whitelist) || empty($whitelist[0])) {
return true;
}