Fix error reporting

This commit is contained in:
Laurent Destailleur 2019-09-02 16:03:20 +02:00
parent 59fe34752c
commit 8cff008156

View File

@ -1159,6 +1159,7 @@ class Societe extends CommonObject
if ($result < 0)
{
$this->error=$lmember->error;
$this->errors = array_merge($this->errors, $lmember->errors);
dol_syslog(get_class($this)."::update ".$this->error, LOG_ERR);
$error++;
}