From 975775cf1fd4844157d07eb414a530971cc37297 Mon Sep 17 00:00:00 2001 From: brettp Date: Tue, 27 Oct 2009 16:54:51 +0000 Subject: 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 --- engine/lib/metadata.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'engine') 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); } -- cgit v1.2.3