Fix #23142
This commit is contained in:
parent
4d06e88f19
commit
9b3f6cfa5a
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user