This commit is contained in:
Christophe Battarel 2023-04-18 16:38:13 +02:00
parent 3de0a682c1
commit d7436d5d8c

View File

@ -317,7 +317,7 @@ if (empty($reshook)) {
//var_dump($batch_line[2]);
if ($totalqty > 0 && !empty($conf->global->SHIPMENT_GETS_ALL_ORDER_PRODUCTS)) { // There is at least one thing to ship
if ($totalqty > 0 || !empty($conf->global->SHIPMENT_GETS_ALL_ORDER_PRODUCTS)) { // There is at least one thing to ship
//var_dump($_POST);exit;
for ($i = 0; $i < $num; $i++) {
$qty = "qtyl".$i;