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