From 3a0f3fcb0fae1222e47ca9357f9f13deb8162979 Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Tue, 1 Feb 2005 21:58:41 +0000 Subject: [PATCH] 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 --- bin/newsletter.send.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } -- 2.1.4