From: Friendika Date: Thu, 10 Mar 2011 07:35:47 +0000 (-0800) Subject: allowed_email matching $host instead of $domain X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0578751cc9820fcc028d8761e2ba8926dbcfbb05;p=friendica.git allowed_email matching $host instead of $domain --- diff --git a/boot.php b/boot.php index 7dd188ee71..4c3a923dce 100644 --- a/boot.php +++ b/boot.php @@ -1825,7 +1825,7 @@ function allowed_email($email) { if(count($allowed)) { foreach($allowed as $a) { $pat = strtolower(trim($a)); - if(($fnmatch && fnmatch($pat,$host)) || ($pat == $host)) { + if(($fnmatch && fnmatch($pat,$domain)) || ($pat == $domain)) { $found = true; break; }