aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/metadata.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php
index 43f6ad5bf..35eebdd66 100644
--- a/engine/lib/metadata.php
+++ b/engine/lib/metadata.php
@@ -819,9 +819,8 @@ $count = FALSE, $case_sensitive = TRUE) {
$options['count'] = $count;
}
- if ($case_sensitive) {
- $options['case_sensitive'] = $case_sensitive;
- }
+ // need to be able to pass false
+ $options['case_sensitive'] = $case_sensitive;
return elgg_get_entities_from_metadata($options);
}