From: Pierre Habouzit (MadCoder Date: Thu, 2 Dec 2004 22:46:28 +0000 (+0000) Subject: backport X-Git-Tag: xorg/old~723 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=cdaae90519f629912f26509d19b21561631bcceb;p=platal.git backport git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-18 --- diff --git a/bin/cron/send_nl.php b/bin/cron/send_nl.php index 7d4cc06..e94652e 100755 --- a/bin/cron/send_nl.php +++ b/bin/cron/send_nl.php @@ -56,7 +56,7 @@ while(true) { $sent = Array(); while(list($uid,$fmt,$bestalias,$prenom,$nom,$sexe) = mysql_fetch_row($sql)) { $sent[] = "user_id='$uid'"; - $nl->sendTo($prenom,$nom,$bestalias,$sexe,$html=='html'); + $nl->sendTo($prenom,$nom,$bestalias,$sexe,$fmt=='html'); } mysql_free_result($sql); mysql_query("UPDATE newsletter_ins SET last=$id WHERE ".implode(' OR ',$sent)); diff --git a/install.d/STATE b/install.d/STATE index fbd236a..906d247 100644 --- a/install.d/STATE +++ b/install.d/STATE @@ -35,7 +35,6 @@ platal-dev profile register search -skins stats web-redirect xorg-stuff