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/relationships.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib/relationships.php') 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