aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}