projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abff05c
)
fix psas by ref
author
Alan Knowles
<alan@roojs.com>
Wed, 27 Jan 2021 04:40:29 +0000
(12:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 27 Jan 2021 04:40:29 +0000
(12:40 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
fd58209
..
98ce558
100644
(file)
--- 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++;
}