mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 08:38:54 +01:00
fix sometimes not logged updated contact-data (binary jpegphoto breaks JSON encoding)
This commit is contained in:
parent
02fd57eb34
commit
f5f347b83b
@ -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