Skip to content

Commit 19fa878

Browse files
author
Oleksandr Iegorov
committed
ACP2E-673: Sporadic catalog price rule issue with Indexing
1 parent 1a0a0a6 commit 19fa878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogRule/Model/Indexer/ReindexRuleProduct.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function execute(Rule $rule, $batchCount, $useAdditionalTable = false)
124124
: $toTimeInAdminTz;
125125

126126
foreach ($productIds as $productId => $validationByWebsite) {
127-
if (empty($validationByWebsite[$websiteId])) {
127+
if (!isset($validationByWebsite[$websiteId]) || $validationByWebsite[$websiteId] === null) {
128128
continue;
129129
}
130130

0 commit comments

Comments
 (0)