diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index 13f6e70b99a..e289762d2a5 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -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; } }