summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-03-01 21:22:52 +0000
committerthomascube <thomas@roundcube.net>2011-03-01 21:22:52 +0000
commit715c7961ba8ff72fe40720bb4feaa7865e57e8b9 (patch)
tree273792d78a585ff4c58bb8ca145bbde89ca086fb /program
parent549e4aba934cea4310cbf356cd87b301b10c9b4c (diff)
Don't do exact matches when searching for existing email records
Diffstat (limited to 'program')
-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;
}
}