Changeset 4584 in subversion


Ignore:
Timestamp:
Mar 1, 2011 4:22:52 PM (2 years ago)
Author:
thomasb
Message:

Don't do exact matches when searching for existing email records

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_contacts.php

    r4541 r4584  
    441441                if (strpos($col, 'email') === 0) { 
    442442                    foreach ((array)$values as $email) { 
    443                         if ($existing = $this->search('email', $email, true, false)) 
     443                        if ($existing = $this->search('email', $email, false, false)) 
    444444                            break 2; 
    445445                    } 
Note: See TracChangeset for help on using the changeset viewer.