aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-18 11:30:33 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-18 11:30:33 +0000
commit4e7d013c52cdb2ae00f5faf6bae7519bf3dc72ed (patch)
treed52bbc52f17bcf82e611a23447b871ba4b4c4235
parent231dd799e9fefdac3328ee2ee4e64fb2889e03cc (diff)
downloadelgg-4e7d013c52cdb2ae00f5faf6bae7519bf3dc72ed.tar.gz
elgg-4e7d013c52cdb2ae00f5faf6bae7519bf3dc72ed.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Final tweaks git-svn-id: https://code.elgg.org/elgg/trunk@246 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/metadata.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php
index 3d5eb7c35..1111fb551 100644
--- a/engine/lib/metadata.php
+++ b/engine/lib/metadata.php
@@ -317,7 +317,7 @@
$query .= " $w and ";
$query .= " (e.access_id in {$access} or (e.access_id = 0 and e.owner_guid = {$_SESSION['id']}))"; // Add access controls
$query .= " order by $order_by limit $limit, $offset"; // Add order and limit
- echo $query;
+
return get_data($query, "entity_row_to_elggstar");
}