summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/addressbook/import.inc
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-02-27 13:30:34 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-02-27 13:30:34 +0000
commit4342ffe9c5919c22e80d654ddd04dcddaec3679f (patch)
treedf146d06a2c5acd70582e5d11d9dd8ab81bcd883 /roundcubemail/program/steps/addressbook/import.inc
parentdd78eef97d61356e9299a51f60d1c273b2715157 (diff)
Improve vcard import: map more fields, support photo urls, better UTF-16 charset detection
git-svn-id: https://svn.roundcube.net/trunk@4575 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/addressbook/import.inc')
-rw-r--r--roundcubemail/program/steps/addressbook/import.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/addressbook/import.inc b/roundcubemail/program/steps/addressbook/import.inc
index af6f67dd8..7300e3370 100644
--- a/roundcubemail/program/steps/addressbook/import.inc
+++ b/roundcubemail/program/steps/addressbook/import.inc
@@ -138,7 +138,7 @@ if ($_FILES['_file']['tmp_name'] && is_uploaded_file($_FILES['_file']['tmp_name'
// We're using UTF8 internally
$email = rcube_idn_to_utf8($email);
- if (!$replace) {
+ if (!$replace && $email) {
// compare e-mail address
$existing = $CONTACTS->search('email', $email, false, false);
if (!$existing->count) { // compare display name