summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwei <>2006-05-07 03:51:19 +0000
committerwei <>2006-05-07 03:51:19 +0000
commit09b8b16562c1b422499446abee1a21b957663016 (patch)
treebb075ff343c7749f09fb8902e77d63e42e6aba60
parent30eddf57c8de433e8ea02b9e552c8e1744a505a7 (diff)
Case insensitive search.
-rw-r--r--demos/quickstart/protected/pages/Search.php2
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;