diff --git a/inc/caldav-REPORT.php b/inc/caldav-REPORT.php index 8568e7f5..442894bb 100644 --- a/inc/caldav-REPORT.php +++ b/inc/caldav-REPORT.php @@ -154,11 +154,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':