Fix vCard export issue

This commit is contained in:
Jörg Lehrke 2010-04-11 09:34:42 +00:00
parent 15609abbf4
commit f976e3079c

View File

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