diff options
author | wei <> | 2006-05-07 03:51:19 +0000 |
---|---|---|
committer | wei <> | 2006-05-07 03:51:19 +0000 |
commit | 09b8b16562c1b422499446abee1a21b957663016 (patch) | |
tree | bb075ff343c7749f09fb8902e77d63e42e6aba60 /demos/quickstart/protected | |
parent | 30eddf57c8de433e8ea02b9e552c8e1744a505a7 (diff) |
Case insensitive search.
Diffstat (limited to 'demos/quickstart/protected')
-rw-r--r-- | demos/quickstart/protected/pages/Search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/quickstart/protected/pages/Search.php b/demos/quickstart/protected/pages/Search.php index cadca368..c7bdce89 100644 --- a/demos/quickstart/protected/pages/Search.php +++ b/demos/quickstart/protected/pages/Search.php @@ -23,7 +23,7 @@ class Search extends TPage $t = count($words);
for($i = 0; $i<$t; $i++)
{
- if($this->containsKeys($words[$i], $keys))
+ if($this->containsKeys(strtolower($words[$i]), $keys))
{
$words[$i] = '<span class="searchterm">'.$words[$i].'</span>';
$where = $i;
|