diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-08-29 13:09:12 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-08-29 13:09:12 +0000 |
commit | 3a8b119331beca1e31b3f7ca376395acb9ab3bb0 (patch) | |
tree | 5cbe9232ecedbf16bdb613e112e41c392f10e499 /engine/lib/metadata.php | |
parent | e7a200f0105e8f0a2ca46e5485c93e08c380dc2f (diff) | |
download | elgg-3a8b119331beca1e31b3f7ca376395acb9ab3bb0.tar.gz elgg-3a8b119331beca1e31b3f7ca376395acb9ab3bb0.tar.bz2 |
Merged [6875] from 1.7 branch into trunk
git-svn-id: http://code.elgg.org/elgg/trunk@6878 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/metadata.php')
-rw-r--r-- | engine/lib/metadata.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index 66fa78401..dd2e341d4 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -945,7 +945,11 @@ $count = FALSE, $case_sensitive = TRUE) { } if ($owner_guid) { - $options['owner_guid'] = $owner_guid; + if (is_array($owner_guid)) { + $options['owner_guids'] = $owner_guid; + } else { + $options['owner_guid'] = $owner_guid; + } } if ($limit) { @@ -1076,7 +1080,11 @@ $count = false, $meta_array_operator = 'and') { } if ($owner_guid) { - $options['owner_guid'] = $owner_guid; + if (is_array($owner_guid)) { + $options['owner_guids'] = $owner_guid; + } else { + $options['owner_guid'] = $owner_guid; + } } if ($limit) { |