Fix phpcs
This commit is contained in:
parent
db19a22b93
commit
215f89d545
@ -1446,8 +1446,7 @@ 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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user