diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2015-04-02 17:10:39 (GMT) |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2015-04-02 17:10:39 (GMT) |
commit | d20afc78222279dfb4e92e9d3bf7217e2b220dd6 (patch) | |
tree | 988bcc7c14cbc9fe6394aab8a7069730a2145329 | |
parent | f64cb42bf29b78c67bf76877e60aad3a65991885 (diff) | |
download | iRony-dev/sabredav2.tar.gz |
Fix photo encoding according to testsdev/sabredav2
-rw-r--r-- | lib/Kolab/CardDAV/ContactsBackend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kolab/CardDAV/ContactsBackend.php b/lib/Kolab/CardDAV/ContactsBackend.php index 30f5f39..b0d3b3f 100644 --- a/lib/Kolab/CardDAV/ContactsBackend.php +++ b/lib/Kolab/CardDAV/ContactsBackend.php @@ -820,7 +820,7 @@ class ContactsBackend extends CardDAV\Backend\AbstractBackend if (!empty($contact['photo'])) { $vc->PHOTO = $contact['photo']; - $vc->PHOTO['ENCODING'] = 'b'; + $vc->PHOTO['ENCODING'] = 'B'; // $vc->PHOTO['TYPE'] = 'GIF'; // if ($v4) convert to uri; See VCardConverter::convertBinaryToUri() } |