thomascube
2011-03-01 715c7961ba8ff72fe40720bb4feaa7865e57e8b9
Don't do exact matches when searching for existing email records

1 files modified
2 ■■■ changed files
program/include/rcube_contacts.php 2 ●●● patch | view | raw | blame | history
program/include/rcube_contacts.php
@@ -440,7 +440,7 @@
            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;
                    }
                }