From: Stéphane Jacob Date: Tue, 6 Sep 2011 18:13:08 +0000 (+0200) Subject: Fixes payment for group non member. X-Git-Tag: xorg/1.1.3~1^2 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=86668a58a94fc57493a335eb75a37171238c0220;p=platal.git Fixes payment for group non member. Signed-off-by: Stéphane Jacob --- 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) {