program/steps/mail/autocomplete.inc
@@ -53,7 +53,7 @@ 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