2
0
forked from Wavyzz/dolibarr

Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0

This commit is contained in:
Laurent Destailleur
2022-12-14 10:21:43 +01:00

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;