aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metadata.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-27 16:54:51 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-27 16:54:51 +0000
commit975775cf1fd4844157d07eb414a530971cc37297 (patch)
treed9aefc95d6e86a7885c74dfa35046cbed8ea1a91 /engine/lib/metadata.php
parent5215adb98de2ae79bbc296c565225203e8181637 (diff)
downloadelgg-975775cf1fd4844157d07eb414a530971cc37297.tar.gz
elgg-975775cf1fd4844157d07eb414a530971cc37297.tar.bz2
Fixed get_entities_from_metadata() wrapper when passing case_sensitive = FALSE.
git-svn-id: http://code.elgg.org/elgg/trunk@3586 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/metadata.php')
-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);
}