From 8cff008156135771cd02eccfdbd0662ba2af3244 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 2 Sep 2019 16:03:20 +0200 Subject: [PATCH] Fix error reporting --- htdocs/societe/class/societe.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 2086c248bb1..1ef4de8ae64 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -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++; }