FIX: Error message overwrited when a error occurs during update of product multilangs (#30841)
This commit is contained in:
parent
70660d778f
commit
21ec7ce98f
1 changed files with 0 additions and 1 deletions
|
|
@ -1275,7 +1275,6 @@ class Product extends CommonObject
|
|||
// Multilangs
|
||||
if (getDolGlobalInt('MAIN_MULTILANGS')) {
|
||||
if ($this->setMultiLangs($user) < 0) {
|
||||
$this->error = $langs->trans("Error")." : ".$this->db->error()." - ".$sql;
|
||||
return -2;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue