mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-31 03:34:18 +00:00
Revert "add fix for the OSX Contacts.app:"
This reverts commit 3ab7787f7b2c6bebccbacb31396f77f09aa93f09.
The correct fix for the underlying issue which this attempted
to work around was applied in the AWL/XMLElement Render method.
["correct fix" likely refers to awl commits
4b56e64bc7127a12df737f157e36fd2de19391dd,
2589e71e18e6ced753500afe0197995290fac52c,
aafbd7b1e6ffb59166d57725102f2f5a817a8590 and
46b112f85711732b62e70f2fb40b866423bbf3b5
picked from github handle-remote-attendees branch]
This commit is contained in:
parent
9580da622a
commit
01a6873d4a
@ -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, '<![CDATA['.$caldav_data.']]>' );
|
||||
if ( $type == 'calendar' ) $reply->CalDAVElement($prop, $base_tag, $caldav_data );
|
||||
else $unsupported[] = $base_tag;
|
||||
break;
|
||||
case 'urn:ietf:params:xml:ns:carddav:address-data':
|
||||
if ( $type == 'vcard' ) $reply->CardDAVElement($prop, $base_tag, '<![CDATA['.$caldav_data.']]>' );
|
||||
if ( $type == 'vcard' ) $reply->CardDAVElement($prop, $base_tag, $caldav_data );
|
||||
else $unsupported[] = $base_tag;
|
||||
break;
|
||||
case 'DAV::getcontenttype':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user