From: Pierre Habouzit (MadCoder Date: Tue, 1 Feb 2005 22:00:26 +0000 (+0000) Subject: end of the NL night ? X-Git-Tag: xorg/old~324 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=b31a39f672f9c709dc2fb6ca194fe50af4b08491;p=platal.git 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 --- 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); }