diff --git a/InventoryCatalog/Model/ResourceModel/BulkInventoryTransfer.php b/InventoryCatalog/Model/ResourceModel/BulkInventoryTransfer.php index ecddbe6aca2..30892868bac 100644 --- a/InventoryCatalog/Model/ResourceModel/BulkInventoryTransfer.php +++ b/InventoryCatalog/Model/ResourceModel/BulkInventoryTransfer.php @@ -127,7 +127,7 @@ private function transferInventory( if ($orgSourceItem !== null) { $status = (int) $orgSourceItem[SourceItemInterface::STATUS]; - } elseif ($dstSourceItemQty !== null) { + } elseif ($dstSourceItem !== null) { $status = (int) $dstSourceItem[SourceItemInterface::STATUS]; } else { $status = (int) SourceItemInterface::STATUS_OUT_OF_STOCK;