Fix phpcs

This commit is contained in:
Laurent Destailleur 2022-08-25 23:44:57 +02:00
parent db19a22b93
commit 215f89d545

View File

@ -1447,7 +1447,6 @@ if ($action == 'create') {
foreach ($product->stock_warehouse as $warehouse_id => $stock_warehouse) { foreach ($product->stock_warehouse as $warehouse_id => $stock_warehouse) {
if (!empty($warehousePicking) && !in_array($warehouse_id, $warehousePicking)) { if (!empty($warehousePicking) && !in_array($warehouse_id, $warehousePicking)) {
// if a warehouse was selected by user, picking is limited to this warehouse and his children. // if a warehouse was selected by user, picking is limited to this warehouse and his children.
continue; continue;
} }
$tmpwarehouseObject->fetch($warehouse_id); $tmpwarehouseObject->fetch($warehouse_id);