Merge pull request #11866 from bafbes/abb100076

fix: repetition in error message
This commit is contained in:
Laurent Destailleur 2019-09-14 16:39:24 +02:00 committed by GitHub
commit 1d865a250e
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)." ".ldap_error($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;