aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-03 10:51:09 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-03 10:51:09 +0000
commitce7f8ed1af6953019b6e438661cbaaa7814f4bfe (patch)
treee11f1c7e1eefaf9e67d4a24b4e5f5adde1fa036e /engine
parent43828480d83cff68ba2963719858fabc69b2c831 (diff)
downloadelgg-ce7f8ed1af6953019b6e438661cbaaa7814f4bfe.tar.gz
elgg-ce7f8ed1af6953019b6e438661cbaaa7814f4bfe.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Debug removed git-svn-id: https://code.elgg.org/elgg/trunk@781 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/annotations.php4
1 files changed, 2 insertions, 2 deletions
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");
}