* CardDAV/Addressbook: fixed not working adding or update of photo

This commit is contained in:
Ralf Becker 2015-08-26 16:38:43 +00:00
parent 4323d52fd0
commit c4d554149a

View File

@ -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':