From: Florent Bruneau Date: Mon, 27 Sep 2010 14:20:48 +0000 (+0200) Subject: Fix query in "My Groups" page. X-Git-Tag: xorg/1.0.1~149 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=e12ab28529594b7814568ca282974b620cde3eb1;p=platal.git Fix query in "My Groups" page. Signed-off-by: Florent Bruneau --- diff --git a/modules/profile.php b/modules/profile.php index f85558e..f055c30 100644 --- a/modules/profile.php +++ b/modules/profile.php @@ -607,7 +607,7 @@ class ProfileModule extends PLModule FROM group_members AS m INNER JOIN groups AS a ON(m.asso_id = a.id) LEFT JOIN group_events AS e ON(e.asso_id = m.asso_id AND e.archive = 0) - WHERE uid = {?} GROUP BY m.asso_id ORDER BY a.nom', S::i('uid')); + WHERE m.uid = {?} GROUP BY m.asso_id ORDER BY a.nom', S::i('uid')); $page->assign('assos', $req->fetchAllAssoc()); }