mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 05:11:41 +02:00
Use flag to tell Contacts we want to save the picture
This commit is contained in:
parent
7efefc6e63
commit
070ba2b617
@ -163,6 +163,12 @@ class addressbook_import_vcard implements importexport_iface_import_plugin {
|
|||||||
|
|
||||||
$record['owner'] = $owner;
|
$record['owner'] = $owner;
|
||||||
|
|
||||||
|
// If photo is set, we want to update it
|
||||||
|
if($record['jpegphoto'])
|
||||||
|
{
|
||||||
|
$record['photo_unchanged'] = false;
|
||||||
|
}
|
||||||
|
|
||||||
// Check that owner (addressbook) is allowed
|
// Check that owner (addressbook) is allowed
|
||||||
if(!array_key_exists($record['owner'], $this->bocontacts->get_addressbooks()))
|
if(!array_key_exists($record['owner'], $this->bocontacts->get_addressbooks()))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user