summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_contacts.php2
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;
}
}