From: Alan Knowles Date: Mon, 25 Jul 2016 09:44:07 +0000 (+0800) Subject: Notify.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=d8c747414cca0430ed0f5c7ff25b3955fa342f80 Notify.php --- 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..