From ce7f8ed1af6953019b6e438661cbaaa7814f4bfe Mon Sep 17 00:00:00 2001 From: icewing Date: Tue, 3 Jun 2008 10:51:09 +0000 Subject: Marcus Povey * Debug removed git-svn-id: https://code.elgg.org/elgg/trunk@781 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/annotations.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib/annotations.php') diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index 2488a8422..4ecb9ea16 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -270,8 +270,8 @@ foreach ($where as $w) $query .= " $w and "; $query .= get_access_sql_suffix("a"); // Add access controls - $query .= " order by $order_by limit $offset,$limit"; // Add order and limit -echo "$query\n"; return get_data($query, "row_to_elggannotation"); + $query .= " order by $order_by limit $offset,$limit"; // Add order and limit + return get_data($query, "row_to_elggannotation"); } -- cgit v1.2.3