X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Notify.php;h=98ce558effb14da56882497470b5e99cbf2e9a1e;hp=fd582092af5a14fa15dae313ff2f70dba6e54320;hb=a5a0b3581b8ac3ce7d75710dbe163f4f11a46b32;hpb=c9147957c423a9c0235392ae34a8b5d236472dbb diff --git a/Notify.php b/Notify.php index fd582092..98ce558e 100644 --- a/Notify.php +++ b/Notify.php @@ -466,9 +466,11 @@ class Pman_Core_Notify extends Pman function poolHasDomain($email) { $ret = 0; - $dom = strtolower(array_pop(explode('@',$email))); + $ea = explode('@',$email); + $dom = strtolower(array_pop($ea)); foreach($this->pool as $p) { - $mdom = strtolower(array_pop(explode('@',$p['email']))); + $ea = explode('@',$p['email']); + $mdom = strtolower(array_pop($ea)); if ($mdom == $dom) { $ret++; }