diff --git a/addressbook/inc/class.addressbook_import_contacts_csv.inc.php b/addressbook/inc/class.addressbook_import_contacts_csv.inc.php index fe4d6a7592..6290bd4355 100644 --- a/addressbook/inc/class.addressbook_import_contacts_csv.inc.php +++ b/addressbook/inc/class.addressbook_import_contacts_csv.inc.php @@ -292,7 +292,7 @@ class addressbook_import_contacts_csv extends importexport_basic_import_csv { { $_data['photo_unchanged'] = false; } - + switch ($_action) { case 'none' : return true; diff --git a/addressbook/inc/class.addressbook_import_vcard.inc.php b/addressbook/inc/class.addressbook_import_vcard.inc.php index dfd322d985..df7596b07c 100644 --- a/addressbook/inc/class.addressbook_import_vcard.inc.php +++ b/addressbook/inc/class.addressbook_import_vcard.inc.php @@ -185,6 +185,11 @@ class addressbook_import_vcard implements importexport_iface_import_plugin { { $record['cat_id'] = implode(',',$this->bocontacts->find_or_add_categories($record['cat_id'], -1)); } + // Make sure picture is loaded/updated + if($record['jpegphoto']) + { + $record['photo_unchanged'] = false; + } return $record; }