From 3507d60c147340536420e81a4f7c93e8a738bd93 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 20 Jan 2009 12:43:12 +0000 Subject: Fix for previous git-svn-id: https://code.elgg.org/elgg/trunk@2585 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/annotations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index 94e5381ce..29100d414 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -647,8 +647,8 @@ $query .= " $w and "; $query .= get_access_sql_suffix("a"); // now add access $query .= ' and ' . get_access_sql_suffix("e"); // now add access - $query .= ' order by sum ' . $orderdir; $query .= ' group by e.guid'; + $query .= ' order by sum ' . $orderdir; return get_data($query, "entity_row_to_elggstar"); } -- cgit v1.2.3