]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Ignore empty email whitelist string
authorEvan Prodromou <evan@status.net>
Thu, 28 Apr 2011 19:39:23 +0000 (12:39 -0700)
committerEvan Prodromou <evan@status.net>
Thu, 28 Apr 2011 19:39:23 +0000 (12:39 -0700)
plugins/DomainWhitelist/DomainWhitelistPlugin.php

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