aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-02 10:33:23 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-02 10:33:23 +0000
commitccb776e5471f936844136cf852f7bac8b19774cc (patch)
treedbdf57e98a9b10962998a96ffd70df69f94e8643
parentbe07d54eb9772039218ff6e5706eb478400fee1f (diff)
downloadelgg-ccb776e5471f936844136cf852f7bac8b19774cc.tar.gz
elgg-ccb776e5471f936844136cf852f7bac8b19774cc.tar.bz2
debug
git-svn-id: https://code.elgg.org/elgg/trunk@333 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 573ea8f4f..465b0d9ac 100644
--- a/engine/lib/metadata.php
+++ b/engine/lib/metadata.php
@@ -324,7 +324,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");
}