From b31a39f672f9c709dc2fb6ca194fe50af4b08491 Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Tue, 1 Feb 2005 22:00:26 +0000 Subject: [PATCH] end of the NL night ? Patches applied: * opensource@polytechnique.org--2005/platal--release--0.9.4--patch-21 yet another time the same stupidity git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-435 --- 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 94d7199..cab9ffb 100755 --- a/bin/newsletter.send.php +++ b/bin/newsletter.send.php @@ -56,7 +56,7 @@ while(true) { $sent[] = "user_id='$uid'"; $nl->sendTo($prenom, $nom, $bestalias, $sexe, $fmt=='html'); } - $globals->dbx->execute('UPDATE newsletter_ins SET last={?} WHERE '.implode(' OR ', $sent), $id); + $globals->xdb->execute('UPDATE newsletter_ins SET last={?} WHERE '.implode(' OR ', $sent), $id); sleep(60); } -- 2.1.4