From 87e120eac13bd88241b0eb4865416a98d03c9a18 Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Mon, 10 Jan 2005 08:51:43 +0000 Subject: [PATCH] wibble git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-257 --- bin/cron/rapports_inscription.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/cron/rapports_inscription.php b/bin/cron/rapports_inscription.php index 844dc0b..e15f063 100755 --- a/bin/cron/rapports_inscription.php +++ b/bin/cron/rapports_inscription.php @@ -23,16 +23,16 @@ if ($a = $res->total()) { // --------------------------------------- $res = $globals->xdb->iterRow( - "SELECT ins_id,username,promo,email,date - FROM en_cours - WHERE loginbis != 'INSCRIT' + "SELECT hash, forlife, email, date + FROM register_pending + WHERE hash != 'INSCRIT' ORDER BY date"); if ($b = $res->total()) { $MESSAGE.="\n$b INSCRIPTIONS NON CONFIRMEES:\n"; - while (list($code,$usern,$prom,$mail,$quand) = $res->next()) { - $MESSAGE.="$quand, X$prom, $usern\n$mail"; + while (list($code, $usern, $mail, $quand) = $res->next()) { + $MESSAGE.="$quand, X$prom, $forlife\n$mail"; $MESSAGE.="\n"; - $MESSAGE.="http://www.polytechnique.org/step4.php?ref=$code\n"; + $MESSAGE.="https://www.polytechnique.org/register/end.php?hash=$code\n"; } } -- 2.1.4