From 5d1c4bca07fad26520d5e5f3d2d0958ddd40da77 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 21 Nov 2009 15:55:36 +0000 Subject: fixes #1374 - owner_guid wasn't being set correctly in options array git-svn-id: http://code.elgg.org/elgg/trunk@3697 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/annotations.php | 2 +- engine/lib/metadata.php | 4 ++-- engine/lib/relationships.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'engine') diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index 9e99d82f2..c50e5ccb9 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -713,7 +713,7 @@ function get_entities_from_annotations($entity_type = "", $entity_subtype = "", } if ($owner_guid) { - $options['owner'] = $owner_guid; + $options['owner_guid'] = $owner_guid; } if ($limit) { diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index 12c196bb1..a19e20ea0 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -809,7 +809,7 @@ $count = FALSE, $case_sensitive = TRUE) { } if ($owner_guid) { - $options['owner'] = $owner_guid; + $options['owner_guid'] = $owner_guid; } if ($limit) { @@ -899,7 +899,7 @@ $count = false, $meta_array_operator = 'and') { } if ($owner_guid) { - $options['owner'] = $owner_guid; + $options['owner_guid'] = $owner_guid; } if ($limit) { diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php index 1ba47b15a..71f6568d2 100644 --- a/engine/lib/relationships.php +++ b/engine/lib/relationships.php @@ -613,7 +613,7 @@ $count = false, $site_guid = 0) { } if ($owner_guid) { - $options['owner'] = $owner_guid; + $options['owner_guid'] = $owner_guid; } if ($limit) { @@ -824,7 +824,7 @@ function get_entities_from_relationships_and_meta($relationship, $relationship_g } if ($owner_guid) { - $options['owner'] = $owner_guid; + $options['owner_guid'] = $owner_guid; } if ($limit) { -- cgit v1.2.3