Skip to content

Commit 419aaae

Browse files
author
Anna Bukatar
committed
ACP2E-2003: Configurable product becomes Out Of Stock when 1 of 2 child products is disabled by scheduled update
1 parent 7a59ce5 commit 419aaae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/ConfigurableProduct/Model/Product/SaveHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class SaveHandler implements ExtensionInterface
4343
public function __construct(
4444
ResourceModelConfigurable $resourceModel,
4545
OptionRepositoryInterface $optionRepository,
46-
?ProductRepositoryInterface $productRepository
46+
?ProductRepositoryInterface $productRepository = null
4747
) {
4848
$this->resourceModel = $resourceModel;
4949
$this->optionRepository = $optionRepository;

0 commit comments

Comments
 (0)