diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-03-01 21:22:52 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-03-01 21:22:52 +0000 |
| commit | 11e70bebf45e56b5b4b3855442d4fd96e6ad63cc (patch) | |
| tree | 4b93e3267d20fcdeeb55f7aaefdcc61f1f2a9ec7 | |
| parent | 87fb8924685323e97eee1c18fa95836d33eeb556 (diff) | |
Don't do exact matches when searching for existing email records
git-svn-id: https://svn.roundcube.net/trunk@4584 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/include/rcube_contacts.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_contacts.php b/roundcubemail/program/include/rcube_contacts.php index 8c9810fa9..705551b03 100644 --- a/roundcubemail/program/include/rcube_contacts.php +++ b/roundcubemail/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; } } |
