projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec35cec
)
Fixes payment for group non member.
author
Stéphane Jacob
<sj@m4x.org>
Tue, 6 Sep 2011 18:13:08 +0000
(20:13 +0200)
committer
Sté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
patch
|
blob
|
blame
|
history
diff --git
a/modules/payment.php
b/modules/payment.php
index
06efdb8
..
6bf554a
100644
(file)
--- 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 e
p
.uid = {?})
WHERE e.paiement_id = {?} AND e.asso_id = {?}",
S::i('uid'), $pid, $globals->asso('id'));
if ($res->numRows() == 0) {