From: Pierre Habouzit (MadCoder Date: Tue, 1 Feb 2005 21:58:41 +0000 (+0000) Subject: backport ... night of the NL ? i don't hope so X-Git-Tag: xorg/old~325 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=3a0f3fcb0fae1222e47ca9357f9f13deb8162979;p=platal.git backport ... night of the NL ? i don't hope so Patches applied: * opensource@polytechnique.org--2005/platal--release--0.9.4--patch-20 ahem : fmt has moved git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-434 --- diff --git a/bin/newsletter.send.php b/bin/newsletter.send.php index 2f85a71..94d7199 100755 --- a/bin/newsletter.send.php +++ b/bin/newsletter.send.php @@ -52,7 +52,7 @@ while(true) { if (!$res->total()) { exit; } $sent = Array(); - while (list($uid, $fmt, $bestalias, $prenom, $nom, $sexe) = $res->next()) { + while (list($uid, $bestalias, $prenom, $nom, $sexe, $fmt) = $res->next()) { $sent[] = "user_id='$uid'"; $nl->sendTo($prenom, $nom, $bestalias, $sexe, $fmt=='html'); }