From 0b15f1b3a116cf657ca297bff4e57c1bb140f10c Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 18 Aug 2023 12:31:12 +0800 Subject: [PATCH] missing $ff --- Notify.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Notify.php b/Notify.php index 351d0888..b5026e89 100644 --- a/Notify.php +++ b/Notify.php @@ -330,7 +330,8 @@ class Pman_Core_Notify extends Pman function isBlacklisted($email) { // return current server id.. - $this->logecho("CHECK BLACKLISTED - {$email}"); + $ff = HTML_FlexyFramework::get(); + //$this->logecho("CHECK BLACKLISTED - {$email}"); if (empty($ff->Core_Notify['servers'])) { return false; } @@ -343,11 +344,11 @@ class Pman_Core_Notify extends Pman $ea = explode('@',$email); $dom = strtolower(array_pop($ea)); - $this->logecho("CHECK BLACKLISTED DOM - {$dom}"); + //$this->logecho("CHECK BLACKLISTED DOM - {$dom}"); if (!in_array($dom, $ff->Core_Notify['servers'][gethostname()]['blacklisted'] )) { return false; } - $this->logecho("RETURN BLACKLISTED TRUE"); + //$this->logecho("RETURN BLACKLISTED TRUE"); return array_search(gethostname(),array_keys($ff->Core_Notify['servers'])); } -- 2.39.2