diff options
author | thomascube <thomas@roundcube.net> | 2011-03-01 21:22:52 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-03-01 21:22:52 +0000 |
commit | 715c7961ba8ff72fe40720bb4feaa7865e57e8b9 (patch) | |
tree | 273792d78a585ff4c58bb8ca145bbde89ca086fb /program | |
parent | 549e4aba934cea4310cbf356cd87b301b10c9b4c (diff) |
Don't do exact matches when searching for existing email records
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_contacts.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_contacts.php b/program/include/rcube_contacts.php index 8c9810fa9..705551b03 100644 --- a/program/include/rcube_contacts.php +++ b/program/include/rcube_contacts.php @@ -440,7 +440,7 @@ class rcube_contacts extends rcube_addressbook foreach ($save_data as $col => $values) { if (strpos($col, 'email') === 0) { foreach ((array)$values as $email) { - if ($existing = $this->search('email', $email, true, false)) + if ($existing = $this->search('email', $email, false, false)) break 2; } } |