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

release-0.6
thomascube 14 years ago
parent 549e4aba93
commit 715c7961ba

@ -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;
}
}

Loading…
Cancel
Save