From afd51e0c9b93a6696aacb0f316ec63e201d2949f Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 21 Nov 2009 15:29:07 +0000 Subject: get_entities_from_metadata_multi() had bad option keys - related to #1374. git-svn-id: http://code.elgg.org/elgg/trunk@3696 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/metadata.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index a880db0e2..12c196bb1 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -888,7 +888,7 @@ $count = false, $meta_array_operator = 'and') { $options = array(); - $options['name_value_pairs'] = $meta_array; + $options['metadata_name_value_pairs'] = $meta_array; if ($entity_type) { $options['types'] = $entity_type; @@ -922,7 +922,7 @@ $count = false, $meta_array_operator = 'and') { $options['count'] = $count; } - $options['name_value_pairs_operator'] = $meta_array_operator; + $options['metadata_name_value_pairs_operator'] = $meta_array_operator; return elgg_get_entities_from_metadata($options); } -- cgit v1.2.3