]> source.dussan.org Git - nextcloud-server.git/commitdiff
Correct mime type.
authorThomas Tanghus <thomas@tanghus.net>
Wed, 6 Jun 2012 11:18:33 +0000 (13:18 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Wed, 6 Jun 2012 13:29:33 +0000 (15:29 +0200)
apps/contacts/export.php

index 4e4ade2f2ba6c015cf38c5a3bb84dfdd6e89c2a8..f84a10c13888e81aebbbb17a4f370d46537dc745 100644 (file)
@@ -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'];
 }