From fe61a8e6265d8e4d800c61657c9eda214f5cff81 Mon Sep 17 00:00:00 2001 From: thomasb Date: Tue, 3 Jul 2007 17:25:05 +0000 Subject: Fix address adding bug reported by David Koblas git-svn-id: https://svn.roundcube.net/trunk@638 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/addressbook/save.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/steps/addressbook') diff --git a/roundcubemail/program/steps/addressbook/save.inc b/roundcubemail/program/steps/addressbook/save.inc index 72e54b173..c16d4729f 100644 --- a/roundcubemail/program/steps/addressbook/save.inc +++ b/roundcubemail/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) -- cgit v1.2.3