X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fxnetevents.php;h=76abf6cad048df6a64c45fcf9681d80dfd509a39;hb=53fa9b70e83cb7d186ebcbb79d2c800834396088;hp=5428ab052111fb14f565cdc6c7951753450f90ce;hpb=80b0570b39f06ff6f0536dd70668e6b444edb4af;p=platal.git diff --git a/modules/xnetevents.php b/modules/xnetevents.php index 5428ab0..76abf6c 100644 --- a/modules/xnetevents.php +++ b/modules/xnetevents.php @@ -711,7 +711,7 @@ class XnetEventsModule extends PLModule XDB::fetchAllAssoc('SELECT t.uid, t.amount FROM payment_transactions AS t LEFT JOIN group_event_participants AS ep ON(ep.uid = t.uid AND ep.eid = {?}) - WHERE t.ref = {?} AND ep.uid IS NULL', + WHERE t.status = "confirmed" AND t.ref = {?} AND ep.uid IS NULL', $evt['eid'], $evt['paiement_id']), 'uid', 'user'); $page->assign('oublis', count($infos));