From: Raphaël Barrois Date: Thu, 20 Oct 2011 23:41:54 +0000 (+0200) Subject: Fix NL sending order. X-Git-Tag: xorg/1.1.4~85 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=fdf18de9a9354c97c5c0aecc0753b22ef40f8a0e;p=platal.git Fix NL sending order. Signed-off-by: Raphaël Barrois --- diff --git a/include/newsletter.inc.php b/include/newsletter.inc.php index 17a4bf5..67bfc9c 100644 --- a/include/newsletter.inc.php +++ b/include/newsletter.inc.php @@ -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();