Notify.php
authorAlan Knowles <alan@roojs.com>
Mon, 29 Apr 2013 02:55:43 +0000 (10:55 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 29 Apr 2013 02:55:43 +0000 (10:55 +0800)
Notify.php

index 900441b..f4984e1 100644 (file)
@@ -214,14 +214,18 @@ class Pman_Core_Notify extends Pman
                 continue;
             }
             if ($this->poolHasDomain($p->person_id_email)) {
+                
+                
+                
                 if (in_array($p->person_id_email, $pushed)) {
                     // it's been pushed to the end, and nothing has
                     // been pushed since.s
                     // give up, let the next run sort it out.
-                    break;
+                    $ar[] = $p; // push it on the end..
+                    continue;
                 }
                 
-                $ar[] = $p; // push it on the end..
+                
                 
                 $pushed[] = $p->person_id_email;