Skip to content

Commit d25a9d7

Browse files
committed
Correct linkId for category data.
1 parent 142accf commit d25a9d7

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Model/Indexer/Category/Flat/Action

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/Indexer/Category/Flat/Action/Rows.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ private function buildIndexData(Store $store, $categoriesIdsChunk, $attributesDa
175175

176176
$categoryAttributesData = [];
177177
if (isset($attributesData[$linkId]) && is_array($attributesData[$linkId])) {
178-
$categoryAttributesData = $attributesData[$categoryId];
178+
$categoryAttributesData = $attributesData[$linkId];
179179
}
180180
$categoryIndexData = $this->buildCategoryIndexData(
181181
$store,

0 commit comments

Comments
 (0)