summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/save.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-07-03 17:25:05 +0000
committerthomascube <thomas@roundcube.net>2007-07-03 17:25:05 +0000
commit3fc00e67bbfa5bad7b0d29d268545036f6dc684d (patch)
treeca892af590f512760116b31d2f23c5fa23ba7c35 /program/steps/addressbook/save.inc
parentb716bd92d833e2d2546b3f2de6f2c6d001dc166a (diff)
Fix address adding bug reported by David Koblas
Diffstat (limited to 'program/steps/addressbook/save.inc')
-rw-r--r--program/steps/addressbook/save.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/save.inc b/program/steps/addressbook/save.inc
index 72e54b173..c16d4729f 100644
--- a/program/steps/addressbook/save.inc
+++ b/program/steps/addressbook/save.inc
@@ -83,7 +83,7 @@ if (!empty($cid))
else
{
// check for existing contacts
- $existing = $CONTACTS->search('email', $a_record['email'], false);
+ $existing = $CONTACTS->search('email', $a_record['email'], true, false);
// show warning message
if ($existing->count)