summaryrefslogtreecommitdiff
path: root/actions/peoplesearch.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-03-19 11:01:58 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-03-19 11:01:58 -0400
commitd1b2a9d7087ecc171f941755b4c3a420cd202842 (patch)
tree4e10480273945d9d983c0ab6ec546dfe4764a57e /actions/peoplesearch.php
parent5dc913f58951815fcaa246e675ff7d30ad93f633 (diff)
Somewhat better behaviour with mixed caps in search
Deal somewhat better with mixed caps in people and notice search.
Diffstat (limited to 'actions/peoplesearch.php')
-rw-r--r--actions/peoplesearch.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/peoplesearch.php b/actions/peoplesearch.php
index 14177fcf0..9e515ade1 100644
--- a/actions/peoplesearch.php
+++ b/actions/peoplesearch.php
@@ -63,13 +63,13 @@ class PeoplesearchAction extends SearchAction
$profile = new Profile();
- # lcase it for comparison
- $q = strtolower($q);
+ // lcase it for comparison
+ // $q = strtolower($q);
$search_engine = $profile->getSearchEngine('identica_people');
$search_engine->set_sort_mode('chron');
- # Ask for an extra to see if there's more.
+ // Ask for an extra to see if there's more.
$search_engine->limit((($page-1)*PROFILES_PER_PAGE), PROFILES_PER_PAGE + 1);
if (false === $search_engine->query($q)) {
$cnt = 0;