summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-05-14 13:18:36 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-05-14 13:18:36 +0000
commitab48590e958409b775aaf3eb5ad5b6ccb05a37d1 (patch)
tree3472a1b1dd96415a7c7df5fa6b071272a910da10 /roundcubemail/program/steps
parent4e9c7b3c07c021163c503a5f230a8d076a3dd9fc (diff)
- Fix autocomplete problem with capital letters (#1485792)
git-svn-id: https://svn.roundcube.net/trunk@2479 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/mail/autocomplete.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/autocomplete.inc b/roundcubemail/program/steps/mail/autocomplete.inc
index b1aba7d62..5b89ff0f3 100644
--- a/roundcubemail/program/steps/mail/autocomplete.inc
+++ b/roundcubemail/program/steps/mail/autocomplete.inc
@@ -31,11 +31,9 @@ if ($book_types && $search = get_input_value('_search', RCUBE_INPUT_POST)) {
if ($result = $abook->search(array('email','name'), $search)) {
while ($sql_arr = $result->iterate()) {
- if (stripos((string)$sql_arr['email'], $search) !== false || stripos((string)$sql_arr['name'], $search) !== false) {
$contacts[] = format_email_recipient($sql_arr['email'], $sql_arr['name']);
if (count($contacts) >= $MAXNUM)
break 2;
- }
}
}
}