Update line.php

This commit is contained in:
Frédéric FRANCE 2022-11-29 23:12:50 +01:00 committed by GitHub
parent cb71e479a2
commit 0f4a1ce98a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,6 +216,11 @@ if ($user->rights->banque->modifier && $action == "update") {
}
}
if (!$error) {
$extrafields->setOptionalsFromPost(null, $object, '@GETPOSTISSET');
$object->insertExtraFields();
}
if (!$error) {
setEventMessages($langs->trans("RecordSaved"), null, 'mesgs');
$db->commit();