From: x2000habouzit Date: Tue, 16 Aug 2005 17:32:29 +0000 (+0000) Subject: fix that annoying bug wrt end.php?hash beeing sent by mail X-Git-Tag: xorg/0.9.9~180 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2e3d2005237b9658dc631cba5f0833f45f99ba2e;p=platal.git fix that annoying bug wrt end.php?hash beeing sent by mail git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@15 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/bin/cron/rapports_inscription.php b/bin/cron/rapports_inscription.php index c60780c..f567ed5 100755 --- a/bin/cron/rapports_inscription.php +++ b/bin/cron/rapports_inscription.php @@ -23,16 +23,14 @@ if ($a = $res->total()) { // --------------------------------------- $res = $globals->xdb->iterRow( - "SELECT hash, forlife, email, date + "SELECT 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, $mail, $quand) = $res->next()) { - $MESSAGE.="$quand, $usern,\n $mail"; - $MESSAGE.="\n"; - $MESSAGE.="https://www.polytechnique.org/register/end.php?hash=$code\n"; + while (list($usern, $mail, $quand) = $res->next()) { + $MESSAGE.="$quand, $usern,\n $mail\n"; } }