summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-05-31 16:17:23 +0000
committerthomascube <thomas@roundcube.net>2011-05-31 16:17:23 +0000
commit09c59abf8576f52b40e1787ef3c0204f795ab9f5 (patch)
tree287570fdec5ef8a6ff9614d2025576a8137bcc44 /program/steps
parent340546c975bca94526a3e16039895a6d0600828b (diff)
Case-insensitive matching in autocompletion (#1487933); replace old string offset syntax
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/autocomplete.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/autocomplete.inc b/program/steps/mail/autocomplete.inc
index 85f3cf352..145fb18a5 100644
--- a/program/steps/mail/autocomplete.inc
+++ b/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