X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fpayment%2Fmoney.inc.php;h=5f64865809d95996ff0d698c8fc1ab5954af7553;hb=2235cd7f2d11e5b4fdcc4ddd8d4da00a2ae80564;hp=a5aae56299fd746ab5cd71ef6d600d7b2cfa23a3;hpb=be638e733bce413df4324d985297d9a4d94dcbca;p=platal.git diff --git a/modules/payment/money.inc.php b/modules/payment/money.inc.php index a5aae56..5f64865 100644 --- a/modules/payment/money.inc.php +++ b/modules/payment/money.inc.php @@ -1,6 +1,6 @@ asso_id) { $res = XDB::query("SELECT e.eid, a.diminutif - FROM groupex.evenements AS e - INNER JOIN groupex.asso AS a ON (e.asso_id = a.id) - LEFT JOIN groupex.evenements_participants AS p ON (p.eid = e.eid AND p.uid = {?}) + FROM group_events AS e + INNER JOIN groups AS a ON (e.asso_id = a.id) + LEFT JOIN group_event_participants AS p ON (p.eid = e.eid AND p.uid = {?}) WHERE e.paiement_id = {?} AND p.uid IS NULL", S::i('uid'), $this->id); if ($res->numRows()) { return $res->fetchOneAssoc();