From 505fd9f8c4bf05dca542f98aadbbf1ba1496785c Mon Sep 17 00:00:00 2001 From: "Andrew J. Hill" Date: Wed, 27 Sep 2017 10:27:07 +0100 Subject: [PATCH] Remove array indexing by entityId --- .../Catalog/Model/Indexer/Category/Flat/AbstractAction.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/AbstractAction.php b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/AbstractAction.php index 24d81f0054c5a..3bb121fe87ef5 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Flat/AbstractAction.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Flat/AbstractAction.php @@ -369,9 +369,6 @@ protected function getAttributeValues($entityIds, $storeId) } $values = []; - foreach ($entityIds as $entityId) { - $values[$entityId] = []; - } $attributes = $this->getAttributes(); $attributesType = ['varchar', 'int', 'decimal', 'text', 'datetime']; foreach ($attributesType as $type) {