Notify.php
authorAlan Knowles <alan@roojs.com>
Thu, 11 Jun 2015 04:24:26 +0000 (12:24 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Jun 2015 04:24:26 +0000 (12:24 +0800)
Notify.php

index 5997ffd..f010e2f 100644 (file)
@@ -246,7 +246,7 @@ class Pman_Core_Notify extends Pman
                 sleep(3);
                 continue;
             }
-            if ($this->poolHasDomain($p->person_id_email) > $this->max_to_domain) {
+            if ($this->poolHasDomain($p->person()->email) > $this->max_to_domain) {
                 
                 if ($pushed === false) {
                     // we only try once to requeue..
@@ -261,7 +261,7 @@ class Pman_Core_Notify extends Pman
             }
             
             
-            $this->run($p->id,$p->person_id_email);
+            $this->run($p->id,$p->person()->email);