summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-04-02 17:10:39 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-04-02 17:10:39 (GMT)
commitd20afc78222279dfb4e92e9d3bf7217e2b220dd6 (patch)
tree988bcc7c14cbc9fe6394aab8a7069730a2145329
parentf64cb42bf29b78c67bf76877e60aad3a65991885 (diff)
downloadiRony-dev/sabredav2.tar.gz
Fix photo encoding according to testsdev/sabredav2
-rw-r--r--lib/Kolab/CardDAV/ContactsBackend.php2
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()
}