Changeset 55a8a8c in github
- Timestamp:
- Nov 10, 2011 8:11:21 AM (19 months ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
- Children:
- bed577e
- Parents:
- 46cdbf0
- File:
-
- 1 edited
-
program/steps/mail/autocomplete.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/steps/mail/autocomplete.inc
rf21a04c r55a8a8c 53 53 54 54 if (!empty($book_types) && strlen($search)) { 55 $contacts = array();55 $contacts = array(); 56 56 $books_num = count($book_types); 57 $search_lc = mb_strtolower($search); 57 58 58 59 foreach ($book_types as $id) { … … 70 71 $contact = format_email_recipient($email, $sql_arr['name']); 71 72 // skip entries that don't match 72 if ($email_cnt > 1 && str ipos($contact, $search) === false) {73 if ($email_cnt > 1 && strpos(mb_strtolower($contact), $search_lc) === false) { 73 74 continue; 74 75 }
Note: See TracChangeset
for help on using the changeset viewer.
