Fix syntax errors.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 28 Nov 2010 11:41:15 +0000 (12:41 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 28 Nov 2010 11:41:15 +0000 (12:41 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
include/reminder/promotion_ml.inc.php
modules/payment.php

index 1156e2a..a49e4e7 100644 (file)
@@ -29,7 +29,7 @@ class ReminderPromotionMl extends Reminder
             XDB::execute('INSERT IGNORE INTO  group_members (uid, asso_id)
                                       SELECT  {?}, id
                                         FROM  groups
-                                       WHERE  diminutif = {?}'
+                                       WHERE  diminutif = {?}',
                          $user->id(), $user->profile()->yearPromo());
             $mmlist = new MMList($user);
             $mmlist->subscribe('promo' . $user->profile()->yearPromo());
index bfaa5ec..d194243 100644 (file)
@@ -312,7 +312,7 @@ class PaymentModule extends PLModule
         $ref = $matches[1];
         $res = XDB::query('SELECT  mail, text, confirmation
                              FROM  payments
-                            WHERE  id={?}", $ref);
+                            WHERE  id={?}', $ref);
         if ($res->numRows() != 1) {
             cb_erreur("référence de commande inconnue");
         }