From f8d2a88e417692b1380c22eb76ba053998973f43 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 10 Feb 2012 20:32:45 +0000 Subject: [PATCH] * Addressbook: use vCard version 3 when exporting via context menu --- addressbook/inc/class.addressbook_ui.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 15293f2366..32ee3fc19e 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -843,7 +843,8 @@ class addressbook_ui extends addressbook_bo case 'vcard': $action_msg = lang('exported'); - ExecMethod('addressbook.addressbook_vcal.export',$checked); + $vcard = new addressbook_vcal('addressbook','text/vcard'); + $vcard->export($checked); // does not return! $Ok = false; break;