[eGroupWare-svn] r55946 - /trunk/addressbook/inc/class.addressbook_import_vcard.inc.php

[email protected] Fri, 29 Apr 2016 14:35:45 -0000
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: nathangray
Date: Fri Apr 29 16:35:44 2016
New Revision: 55946

URL: http://svn.stylite.de/viewvc/egroupware?rev=55946&view=rev
Log:
Fix undefined definition

Modified:
    trunk/addressbook/inc/class.addressbook_import_vcard.inc.php

Modified: trunk/addressbook/inc/class.addressbook_import_vcard.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/addressbook/inc/class.addressbook_import_vcard.inc.php?rev=55946&r1=55945&r2=55946&view=diff
==============================================================================
--- trunk/addressbook/inc/class.addressbook_import_vcard.inc.php (original)
+++ trunk/addressbook/inc/class.addressbook_import_vcard.inc.php Fri Apr 29 16:35:44 2016
@@ -157,8 +157,7 @@
 	 */
 	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);
 


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z