search phrase was not lowercased, but content strings were

This commit is contained in:
real_nowhereman 2008-02-10 15:15:21 +00:00
parent c0642e4f0f
commit 10929c56e6

View File

@ -50,7 +50,8 @@ if (!defined('MOD_INDEX')) {
if(isset($_GET['q']) && $kw = trim($_GET['q'])) { if(isset($_GET['q']) && $kw = trim($_GET['q'])) {
$title = $lang['search']['head']; $title = $lang['search']['head'];
$content = "shared:search_results.tpl"; $content = "shared:search_results.tpl";
$kw = strtolower($kw);
search_do($kw); search_do($kw);
} else { } else {