|
From: | Jean-François FERRY |
Subject: | [Dolibarr-dev] Bug with ldap trigger |
Date: | Wed, 02 Nov 2011 00:08:11 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 |
Hello, When I do "Regenerate and send new password" with ldap module enabled, I've got this error : Fatal error: Call to a member function _load_ldap_info() on a non-object in htdocs/includes/triggers/interface_modLdap_Ldapsynchro.class.php on line 164 the lines contains '$oldinfo=$object->oldcopy->_load_ldap_info();' The line on github : https://github.com/Dolibarr/dolibarr/blob/master/htdocs/includes/triggers/interface_modLdap_Ldapsynchro.class.php#L164 By adding the following lines before (line 163), it works again : $class = get_class($object); $object->oldcopy = new $class($object->db); Same bug on other triggers with oldcopy usage. Dolibarr version : 3.1-rc |
[Prev in Thread] | Current Thread | [Next in Thread] |