Notify.php
authorAlan Knowles <alan@roojs.com>
Mon, 25 Jul 2016 09:44:07 +0000 (17:44 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 25 Jul 2016 09:44:07 +0000 (17:44 +0800)
Notify.php

index 10f2419..e768eb9 100644 (file)
@@ -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..