diff options
author | Friendika <info@friendika.com> | 2011-03-09 23:35:47 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-03-09 23:35:47 -0800 |
commit | 0578751cc9820fcc028d8761e2ba8926dbcfbb05 (patch) | |
tree | 8937060404199619674cdb19f992bf5720c7983c | |
parent | 2270e73fcd231013929d5f9e7475fc8b0d872149 (diff) | |
download | volse-hubzilla-0578751cc9820fcc028d8761e2ba8926dbcfbb05.tar.gz volse-hubzilla-0578751cc9820fcc028d8761e2ba8926dbcfbb05.tar.bz2 volse-hubzilla-0578751cc9820fcc028d8761e2ba8926dbcfbb05.zip |
allowed_email matching $host instead of $domain
-rw-r--r-- | boot.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |