aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-09 23:35:47 -0800
committerFriendika <info@friendika.com>2011-03-09 23:35:47 -0800
commit0578751cc9820fcc028d8761e2ba8926dbcfbb05 (patch)
tree8937060404199619674cdb19f992bf5720c7983c
parent2270e73fcd231013929d5f9e7475fc8b0d872149 (diff)
downloadvolse-hubzilla-0578751cc9820fcc028d8761e2ba8926dbcfbb05.tar.gz
volse-hubzilla-0578751cc9820fcc028d8761e2ba8926dbcfbb05.tar.bz2
volse-hubzilla-0578751cc9820fcc028d8761e2ba8926dbcfbb05.zip
allowed_email matching $host instead of $domain
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 7dd188ee7..4c3a923dc 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;
}