From 336746397a411a3c8b4f235c986325d782a59bda Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 27 Jan 2021 12:40:29 +0800 Subject: [PATCH] fix psas by ref --- Notify.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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++; } -- 2.39.2