From d20afc78222279dfb4e92e9d3bf7217e2b220dd6 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 2 Apr 2015 19:10:39 +0200 Subject: Fix photo encoding according to tests --- lib/Kolab/CardDAV/ContactsBackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() } -- cgit v0.12