mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
* CardDAV/Addressbook: fixed not working adding or update of photo
This commit is contained in:
parent
4323d52fd0
commit
c4d554149a
@ -953,7 +953,8 @@ class addressbook_vcal extends addressbook_bo
|
||||
break;
|
||||
|
||||
case 'jpegphoto':
|
||||
$contact[$fieldName] = $vcardValues[$vcardKey]['value'];
|
||||
$contact[$fieldName] = $vcardValues[$vcardKey]['params']['ENCODING'] == 'b' ?
|
||||
base64_decode($vcardValues[$vcardKey]['value']): $vcardValues[$vcardKey]['value'];
|
||||
break;
|
||||
|
||||
case 'note':
|
||||
|
Loading…
Reference in New Issue
Block a user