X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fpayment.php;h=4fa064197d51f3fe55267edcd1230be997276b27;hb=3424387cde6c635ff16c3b5459c4caa88bb76e2e;hp=1776cc4b0954c29090ec6aef6bb3b2fb1276e3b2;hpb=1eddb8dcd2185df6d81f04392063c45a298661b4;p=platal.git diff --git a/modules/payment.php b/modules/payment.php index 1776cc4..4fa0641 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -934,7 +934,7 @@ class PaymentModule extends PLModule FROM payment_transactions AS t LEFT JOIN payments AS p ON (t.ref = p.id) LEFT JOIN groups AS g ON (p.asso_id = g.id) - WHERE t.recon_id IN {?} + WHERE t.recon_id IN {?} AND t.status = "confirmed" GROUP BY t.ref', $recongp_id, $recon_ids);