mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
fix sometimes not logged updated contact-data (binary jpegphoto breaks JSON encoding)
This commit is contained in:
parent
64e77f6f50
commit
cb7cc5a71d
@ -480,8 +480,9 @@ class Import
|
||||
++$errors;
|
||||
continue;
|
||||
}
|
||||
$hide_binary = !empty($contact['jpegphoto']) ? ['jpegphoto' => bytes($contact['jpegphoto']).' bytes binary data'] : [];
|
||||
$this->logger("Successful updated contact data of '$account[account_lid]' (#$account_id): ".
|
||||
json_encode($diff, JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE), 'detail');
|
||||
json_encode($hide_binary+$diff, JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE), 'detail');
|
||||
if (!$new) $new = false;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user