diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-22 16:18:39 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-22 16:18:39 +0000 |
commit | aaf2027a090954779a563d2581817490df685cb1 (patch) | |
tree | 8e782a6ed75a6d6dc2090c40720dfbfa9f0312f8 /engine/lib/metadata.php | |
parent | 5f1a263e8fcf52ce3daaf4778a06e59fdee163d3 (diff) | |
download | elgg-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/metadata.php')
-rw-r--r-- | engine/lib/metadata.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index 52c01c5e8..baa02b682 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -491,9 +491,9 @@ if ($site_guid > 0)
$where[] = "e.site_guid = {$site_guid}";
if (is_array($owner_guid)) {
- $where[] = "e.owner_guid in (".implode(",",$owner_guid).")";
+ $where[] = "e.container_guid in (".implode(",",$owner_guid).")";
} else if ($owner_guid > 0)
- $where[] = "e.owner_guid = {$owner_guid}"; + $where[] = "e.container_guid = {$owner_guid}"; if (!$count) {
$query = "SELECT distinct e.* ";
|