Fix error reporting
This commit is contained in:
parent
59fe34752c
commit
8cff008156
@ -1159,6 +1159,7 @@ class Societe extends CommonObject
|
|||||||
if ($result < 0)
|
if ($result < 0)
|
||||||
{
|
{
|
||||||
$this->error=$lmember->error;
|
$this->error=$lmember->error;
|
||||||
|
$this->errors = array_merge($this->errors, $lmember->errors);
|
||||||
dol_syslog(get_class($this)."::update ".$this->error, LOG_ERR);
|
dol_syslog(get_class($this)."::update ".$this->error, LOG_ERR);
|
||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user