From d8c747414cca0430ed0f5c7ff25b3955fa342f80 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 25 Jul 2016 17:44:07 +0800 Subject: [PATCH] Notify.php --- Notify.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Notify.php b/Notify.php index 10f2419e..e768eb94 100644 --- a/Notify.php +++ b/Notify.php @@ -247,7 +247,12 @@ class Pman_Core_Notify extends Pman sleep(3); continue; } - if ($this->poolHasDomain($p->person()->email) > $this->max_to_domain) { + if (!$p->person()) { + print_R($p); + ; + } + + if ($p->person()&& $this->poolHasDomain($p->person()->email) > $this->max_to_domain) { if ($pushed === false) { // we only try once to requeue.. -- 2.39.2