summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-09-23 14:58:18 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-09-23 14:59:00 (GMT)
commitd31fd0e0a7b2464e8d2aaa19c13dd1694b4e2264 (patch)
treea95ae8bd5bb562fd533f34e06c89dcf682911927
parentfa906c6796496abc153e1968964f9531f52e85dd (diff)
downloadiRony-d31fd0e0a7b2464e8d2aaa19c13dd1694b4e2264.tar.gz
Fix calendar color value in PROPFIND requests (#3537)
-rw-r--r--lib/Kolab/CalDAV/CalendarBackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kolab/CalDAV/CalendarBackend.php b/lib/Kolab/CalDAV/CalendarBackend.php
index 531ad25..e6d0c42 100644
--- a/lib/Kolab/CalDAV/CalendarBackend.php
+++ b/lib/Kolab/CalDAV/CalendarBackend.php
@@ -71,7 +71,7 @@ class CalendarBackend extends CalDAV\Backend\AbstractBackend
'id' => $id,
'uri' => $id,
'{DAV:}displayname' => html_entity_decode($folder->get_name(), ENT_COMPAT, RCUBE_CHARSET),
- '{http://apple.com/ns/ical/}calendar-color' => $folder->get_color(),
+ '{http://apple.com/ns/ical/}calendar-color' => '#' . $folder->get_color('FF0000') . 'FF',
'{http://calendarserver.org/ns/}getctag' => sprintf('%d-%d-%d', $fdata['UIDVALIDITY'], $fdata['HIGHESTMODSEQ'], $fdata['UIDNEXT']),
'{urn:ietf:params:xml:ns:caldav}supported-calendar-component-set' => new CalDAV\Property\SupportedCalendarComponentSet(array($this->type_component_map[$folder->type])),
'{urn:ietf:params:xml:ns:caldav}schedule-calendar-transp' => new CalDAV\Property\ScheduleCalendarTransp('opaque'),