From: Florent Bruneau Date: Sun, 28 Nov 2010 11:41:15 +0000 (+0100) Subject: Fix syntax errors. X-Git-Tag: xorg/1.1.0~259 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=f336915bd25f046ed90b4d7e144384d7242adc97;p=platal.git Fix syntax errors. Signed-off-by: Florent Bruneau --- diff --git a/include/reminder/promotion_ml.inc.php b/include/reminder/promotion_ml.inc.php index 1156e2a..a49e4e7 100644 --- a/include/reminder/promotion_ml.inc.php +++ b/include/reminder/promotion_ml.inc.php @@ -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()); diff --git a/modules/payment.php b/modules/payment.php index bfaa5ec..d194243 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -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"); }