Update ldap.class.php

This commit is contained in:
Laurent Destailleur 2019-09-14 16:39:08 +02:00 committed by GitHub
parent 797bab4741
commit c015bbda14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -609,7 +609,7 @@ class Ldap
}
if ($result <= 0)
{
$this->error = ldap_errno($this->connection)." ".$this->error;
$this->error = ldap_error($this->connection).' (Code '.ldap_errno($this->connection).") ".$this->error;
dol_syslog(get_class($this)."::update ".$this->error, LOG_ERR);
//print_r($info);
return -1;