summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-31 16:17:23 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-31 16:17:23 +0000
commit3d95459b19a1c80fdeb2c55a552ecdcc66da009d (patch)
treea754be13816aed406f4d27c6b857dd285a48eab4 /roundcubemail/program/steps
parent638b7c6222892fb62291448a14f0421d026b08a3 (diff)
Case-insensitive matching in autocompletion (#1487933); replace old string offset syntax
git-svn-id: https://svn.roundcube.net/trunk@4819 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/mail/autocomplete.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/autocomplete.inc b/roundcubemail/program/steps/mail/autocomplete.inc
index 85f3cf352..145fb18a5 100644
--- a/roundcubemail/program/steps/mail/autocomplete.inc
+++ b/roundcubemail/program/steps/mail/autocomplete.inc
@@ -53,7 +53,7 @@ else if ($book_types && $search = get_input_value('_search', RCUBE_INPUT_GPC, tr
foreach ($email_arr as $email) {
$contact = format_email_recipient($email, $sql_arr['name']);
// skip entries that don't match
- if ($email_cnt > 1 && strpos($contact, $search) === false) {
+ if ($email_cnt > 1 && stripos($contact, $search) === false) {
continue;
}
// when we've got more than one book, we need to skip duplicates