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:
Andrew McMillan 2010-11-30 12:38:02 +13:00
parent a0dee7f461
commit 0dc20e969f

View File

@ -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']) ) {