Merge pull request #14351 from atm-quentin/FIX_product_label_desc_update

FIX product label and desc were never updated when modifying trans
This commit is contained in:
Laurent Destailleur 2020-08-04 13:07:41 +02:00 committed by GitHub
commit bd8e8a4087
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,7 @@ $cancel != $langs->trans("Cancel") &&
$object->label = $_POST["libelle"];
$object->description = dol_htmlcleanlastbr($_POST["desc"]);
$object->other = dol_htmlcleanlastbr($_POST["other"]);
$object->update($object->id, $user);
}
else
{