From 86668a58a94fc57493a335eb75a37171238c0220 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Tue, 6 Sep 2011 20:13:08 +0200 Subject: [PATCH] Fixes payment for group non member. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/payment.php b/modules/payment.php index 06efdb8..6bf554a 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -410,7 +410,7 @@ class PaymentModule extends PLModule } $res = XDB::query("SELECT 1 FROM group_events AS e - INNER JOIN group_event_participants AS ep ON (ep.eid = e.eid AND e.uid = {?}) + INNER JOIN group_event_participants AS ep ON (ep.eid = e.eid AND ep.uid = {?}) WHERE e.paiement_id = {?} AND e.asso_id = {?}", S::i('uid'), $pid, $globals->asso('id')); if ($res->numRows() == 0) { -- 2.1.4