FIX product label and desc were never updated when modifying trans

This commit is contained in:
quentin 2020-08-03 10:33:48 +02:00
parent b57ec55812
commit b026896a98

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
{