mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-30 03:24:47 +00:00
Use text/vcard for content type in advance of ratification of spec.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
This commit is contained in:
parent
a0dee7f461
commit
0dc20e969f
@ -205,7 +205,7 @@ function component_to_xml( $properties, $item ) {
|
|||||||
case 'VCARD':
|
case 'VCARD':
|
||||||
$displayname = $item->fn;
|
$displayname = $item->fn;
|
||||||
$type = 'vcard';
|
$type = 'vcard';
|
||||||
$contenttype = 'text/x-vcard';
|
$contenttype = 'text/vcard';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if ( isset($properties['calendar-data']) || isset($properties['displayname']) ) {
|
if ( isset($properties['calendar-data']) || isset($properties['displayname']) ) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user