mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-04 07:14:02 +01:00
Don't do exact matches when searching for existing email records
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user