From: Thomas Tanghus Date: Wed, 6 Jun 2012 11:18:33 +0000 (+0200) Subject: Correct mime type. X-Git-Tag: v4.5.0beta1~74^2~423^2~34 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ed950e3ba2a0fcce09cd101a547b1818094d0de5;p=nextcloud-server.git Correct mime type. --- diff --git a/apps/contacts/export.php b/apps/contacts/export.php index 4e4ade2f2ba..f84a10c1388 100644 --- a/apps/contacts/export.php +++ b/apps/contacts/export.php @@ -23,7 +23,7 @@ if(isset($bookid)){ } }elseif(isset($contactid)){ $data = OC_Contacts_App::getContactObject($contactid); - header('Content-Type: text/directory'); + header('Content-Type: text/vcard'); header('Content-Disposition: inline; filename=' . str_replace(' ', '_', $data['fullname']) . '.vcf'); echo $data['carddata']; }