Merge pull request #24325 from Gilles-L-Artaban/15.0

FIX|Fix #24298 No error or 0.00 instead of NULL in database anymore w…
This commit is contained in:
Laurent Destailleur 2023-03-31 02:47:53 +02:00 committed by GitHub
commit ee3664743e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1393,7 +1393,7 @@ if (empty($reshook)) {
$error++;
}
if (!$error) {
$result = $object->updateExtraField(GETPOST('attribute', 'restricthtml'), 'PROPAL_MODIFY', $user);
$result = $object->insertExtraFields('PROPAL_MODIFY');
if ($result < 0) {
setEventMessages($object->error, $object->errors, 'errors');
$error++;