projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7a5319
)
Fixes sql query in payment.
author
Stéphane Jacob
<sj@m4x.org>
Mon, 13 Dec 2010 19:50:15 +0000
(20:50 +0100)
committer
Stéphane Jacob
<sj@m4x.org>
Mon, 13 Dec 2010 19:50:15 +0000
(20:50 +0100)
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
06ddd9c
..
39f8193
100644
(file)
--- a/
modules/payment.php
+++ b/
modules/payment.php
@@
-483,7
+483,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 uid = {?})
+ INNER JOIN group_event_participants AS ep ON (ep.eid = e.eid AND
e.
uid = {?})
WHERE e.paiement_id = {?} AND e.asso_id = {?}",
S::i('uid'), $pid, $globals->asso('id'));
if ($res->numRows() == 0) {