diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-12 17:03:51 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-12 17:03:51 +0000 |
commit | 73ed4ae8513af1cc6e795b125cc1f319a965bfb4 (patch) | |
tree | 86681c6baee8869faab58940588251be692dd9e4 /mod/search | |
parent | c41553d5e532ca86070d511d50d150d97869bb84 (diff) | |
download | elgg-73ed4ae8513af1cc6e795b125cc1f319a965bfb4.tar.gz elgg-73ed4ae8513af1cc6e795b125cc1f319a965bfb4.tar.bz2 |
Merged Cash's bugfixes from the 1.7 branch (3288:5377).
git-svn-id: http://code.elgg.org/elgg/trunk@5378 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/search')
-rw-r--r-- | mod/search/search_hooks.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/search/search_hooks.php b/mod/search/search_hooks.php index cc70f43ea..0b606ac66 100644 --- a/mod/search/search_hooks.php +++ b/mod/search/search_hooks.php @@ -232,7 +232,7 @@ function search_tags_hook($hook, $type, $value, $params) { // @todo make one long tag string and run this through the highlight // function. This might be confusing as it could chop off // the tag labels. - if (in_array($query, $tags)) { + if (in_array(strtolower($query), array_map('strtolower', $tags))) { if (is_array($tags)) { $tag_name_str = elgg_echo("tag_names:$tag_name"); $matched_tags_strs[] = "$tag_name_str: " . implode(', ', $tags); |