From e12ab28529594b7814568ca282974b620cde3eb1 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Mon, 27 Sep 2010 16:20:48 +0200 Subject: [PATCH] Fix query in "My Groups" page. Signed-off-by: Florent Bruneau --- modules/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } -- 2.1.4