From f976e3079c3840710b94a372dc5ce0e3edac887b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Sun, 11 Apr 2010 09:34:42 +0000 Subject: [PATCH] Fix vCard export issue --- addressbook/inc/class.addressbook_vcal.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addressbook/inc/class.addressbook_vcal.inc.php b/addressbook/inc/class.addressbook_vcal.inc.php index dab5ae740a..66a04c1476 100644 --- a/addressbook/inc/class.addressbook_vcal.inc.php +++ b/addressbook/inc/class.addressbook_vcal.inc.php @@ -974,8 +974,7 @@ class addressbook_vcal extends addressbook_bo { if (!$file) { - $browser =& CreateObject('phpgwapi.browser'); - $browser->content_header('addressbook.vcf','text/x-vcard'); + html::content_header('addressbook.vcf','text/x-vcard'); } if (!($fp = fopen($file ? $file : 'php://output','w'))) {