aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-21 15:29:07 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-21 15:29:07 +0000
commitafd51e0c9b93a6696aacb0f316ec63e201d2949f (patch)
tree8266b9d9f1237a2d6a9511d5df144d0709f73fa5 /engine/lib
parent75037abc30459a0c3add847eceb267afbfe4b5e5 (diff)
downloadelgg-afd51e0c9b93a6696aacb0f316ec63e201d2949f.tar.gz
elgg-afd51e0c9b93a6696aacb0f316ec63e201d2949f.tar.bz2
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
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/metadata.php4
1 files 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);
}