aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/tags.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-22 16:18:39 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-22 16:18:39 +0000
commitaaf2027a090954779a563d2581817490df685cb1 (patch)
tree8e782a6ed75a6d6dc2090c40720dfbfa9f0312f8 /engine/lib/tags.php
parent5f1a263e8fcf52ce3daaf4778a06e59fdee163d3 (diff)
downloadelgg-aaf2027a090954779a563d2581817490df685cb1.tar.gz
elgg-aaf2027a090954779a563d2581817490df685cb1.tar.bz2
Updated further functions to work from container_guids rather than owner_guids
git-svn-id: https://code.elgg.org/elgg/trunk@1493 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/tags.php')
-rw-r--r--engine/lib/tags.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/tags.php b/engine/lib/tags.php
index 37b021bde..fbb533c4a 100644
--- a/engine/lib/tags.php
+++ b/engine/lib/tags.php
@@ -127,9 +127,9 @@
$query .= " and e.type = '{$entity_type}' ";
}
if (is_array($owner_guid)) {
- $query .= " and e.owner_guid in (".implode(",",$owner_guid).")";
+ $query .= " and e.container_guid in (".implode(",",$owner_guid).")";
} else if (is_int($owner_guid)) {
- $query .= " and e.owner_guid = {$owner_guid} ";
+ $query .= " and e.container_guid = {$owner_guid} ";
}
$query .= " and (e.access_id in {$access} or (e.access_id = 0 and e.owner_guid = {$_SESSION['id']}))";