From 980774ffcd4376237f69c71afc8a6be60929cfbc Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 29 Apr 2016 14:35:44 +0000 Subject: [PATCH] Fix undefined definition --- addressbook/inc/class.addressbook_import_vcard.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addressbook/inc/class.addressbook_import_vcard.inc.php b/addressbook/inc/class.addressbook_import_vcard.inc.php index a2552ca1b9..6b4c3e8d5a 100644 --- a/addressbook/inc/class.addressbook_import_vcard.inc.php +++ b/addressbook/inc/class.addressbook_import_vcard.inc.php @@ -157,8 +157,7 @@ class addressbook_import_vcard implements importexport_iface_import_plugin { */ public function _vcard($_vcard, $owner) { - // ToDo: Nathan: $_definition is not defined - $charset = $_definition->plugin_options['charset']; + $charset = $this->definition->plugin_options['charset']; if($charset == 'user') $charset = $GLOBALS['egw_info']['user']['preferences']['addressbook']['vcard_charset']; $record = $this->bocontacts->vcardtoegw($_vcard,$charset);