mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Fix undefined definition
This commit is contained in:
parent
6260d948a7
commit
980774ffcd
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user