diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-11-21 15:55:36 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-11-21 15:55:36 +0000 |
commit | 5d1c4bca07fad26520d5e5f3d2d0958ddd40da77 (patch) | |
tree | 6c47cee18250e28c8980b9aa9eb8dcf75751e83f | |
parent | afd51e0c9b93a6696aacb0f316ec63e201d2949f (diff) | |
download | elgg-5d1c4bca07fad26520d5e5f3d2d0958ddd40da77.tar.gz elgg-5d1c4bca07fad26520d5e5f3d2d0958ddd40da77.tar.bz2 |
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
-rw-r--r-- | engine/lib/annotations.php | 2 | ||||
-rw-r--r-- | engine/lib/metadata.php | 4 | ||||
-rw-r--r-- | engine/lib/relationships.php | 4 |
3 files changed, 5 insertions, 5 deletions
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) { |