Update card.php

This commit is contained in:
Laurent Destailleur 2021-08-28 16:32:22 +02:00 committed by GitHub
parent a0c9cf2d8d
commit faf1d52d91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -717,7 +717,7 @@ if (empty($reshook)) {
unset($_POST[$qty]);
}
}
} else { // both product batch and stock are not activated.
} elsif (empty($conf->stock->enabled) && empty($conf->productbatch->enabled)) { // both product batch and stock are not activated.
$qty = "qtyl".$line_id;
$line->id = $line_id;
$line->qty = GETPOST($qty, 'int');