Fix vCard export issue

This commit is contained in:
Jörg Lehrke 2010-04-11 09:42:24 +00:00
parent 5f3b45fa1d
commit 2c12d737b2

View File

@ -965,8 +965,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')))
{