This commit is contained in:
Juanjo Menent 2022-12-09 20:38:44 +01:00
parent 4d06e88f19
commit 9b3f6cfa5a

View File

@ -400,7 +400,7 @@ if (empty($reshook)) {
$object->volume = GETPOST('volume');
$object->volume_units = GETPOST('volume_units'); // This is not the fk_unit but the power of unit
$finished = GETPOST('finished', 'int');
if ($finished > 0) {
if ($finished >= 0) {
$object->finished = $finished;
} else {
$object->finished = null;