From f336915bd25f046ed90b4d7e144384d7242adc97 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 28 Nov 2010 12:41:15 +0100 Subject: [PATCH] Fix syntax errors. Signed-off-by: Florent Bruneau --- include/reminder/promotion_ml.inc.php | 2 +- modules/payment.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"); } -- 2.1.4