Changeset 4874 in subversion


Ignore:
Timestamp:
Jun 22, 2011 6:07:06 PM (2 years ago)
Author:
thomasb
Message:

Skip empty e-mail addresses in autocompletion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/autocomplete.inc

    r4819 r4874  
    5252        $email_cnt = count($email_arr); 
    5353        foreach ($email_arr as $email) { 
     54          if (empty($email)) 
     55            continue; 
    5456          $contact = format_email_recipient($email, $sql_arr['name']); 
    5557          // skip entries that don't match 
Note: See TracChangeset for help on using the changeset viewer.