Fixes payment for group non member.
authorStéphane Jacob <sj@m4x.org>
Tue, 6 Sep 2011 18:13:08 +0000 (20:13 +0200)
committerStéphane Jacob <sj@m4x.org>
Tue, 6 Sep 2011 18:13:08 +0000 (20:13 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/payment.php

index 06efdb8..6bf554a 100644 (file)
@@ -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) {