thomascube
2011-05-31 09c59abf8576f52b40e1787ef3c0204f795ab9f5
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