From 495257bebb0d22c7037da811bfcb745ba8405c61 Mon Sep 17 00:00:00 2001 From: Jason Alavaliant Date: Sun, 21 Apr 2013 21:44:34 +1200 Subject: [PATCH] add fix for the OSX Contacts.app: --- inc/caldav-REPORT.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/caldav-REPORT.php b/inc/caldav-REPORT.php index 19cebc3a..ccf356ca 100644 --- a/inc/caldav-REPORT.php +++ b/inc/caldav-REPORT.php @@ -152,11 +152,11 @@ function component_to_xml( $properties, $item ) { $prop->NewElement($base_tag, ISODateToHTTPDate($item->modified) ); break; case 'urn:ietf:params:xml:ns:caldav:calendar-data': - if ( $type == 'calendar' ) $reply->CalDAVElement($prop, $base_tag, $caldav_data ); + if ( $type == 'calendar' ) $reply->CalDAVElement($prop, $base_tag, '' ); else $unsupported[] = $base_tag; break; case 'urn:ietf:params:xml:ns:carddav:address-data': - if ( $type == 'vcard' ) $reply->CardDAVElement($prop, $base_tag, $caldav_data ); + if ( $type == 'vcard' ) $reply->CardDAVElement($prop, $base_tag, '' ); else $unsupported[] = $base_tag; break; case 'DAV::getcontenttype':