aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/annotations.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-20 12:43:12 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-20 12:43:12 +0000
commit3507d60c147340536420e81a4f7c93e8a738bd93 (patch)
treef239397487264c52efcccf25ec4500e08d4619be /engine/lib/annotations.php
parent358cf53e56498882a6870e06c58328742c9d8ed9 (diff)
downloadelgg-3507d60c147340536420e81a4f7c93e8a738bd93.tar.gz
elgg-3507d60c147340536420e81a4f7c93e8a738bd93.tar.bz2
Fix for previous
git-svn-id: https://code.elgg.org/elgg/trunk@2585 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/annotations.php')
-rw-r--r--engine/lib/annotations.php2
1 files changed, 1 insertions, 1 deletions
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");
}