Fix NL sending order.
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Thu, 20 Oct 2011 23:41:54 +0000 (01:41 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Thu, 20 Oct 2011 23:41:57 +0000 (01:41 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
include/newsletter.inc.php

index 17a4bf5..67bfc9c 100644 (file)
@@ -1231,7 +1231,7 @@ class NLIssue
                        $this->id);
 
         $ufc = new PFC_And($this->getRecipientsUFC(), new UFC_NLSubscribed($this->nl->id, $this->id), new UFC_HasValidEmail());
-        $uf = new UserFilter($ufc, array(new UFO_IsAdmin(), new UFO_Uid()));
+        $uf = new UserFilter($ufc, array(new UFO_IsAdmin(true), new UFO_Uid()));
         $limit = new PlLimit(self::BATCH_SIZE);
         $global_sent = array();