We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ac46c commit 0f104a7Copy full SHA for 0f104a7
app/code/core/Mage/Catalog/Model/Resource/Category/Flat.php
@@ -839,7 +839,9 @@ protected function _getAttributeValues($entityIds, $store_id)
839
];
840
foreach ($attributesType as $type) {
841
foreach ($this->_getAttributeTypeValues($type, $entityIds, $store_id) as $row) {
842
- $values[$row['entity_id']][$attributes[$row['attribute_id']]['attribute_code']] = $row['value'];
+ if (isset($attributes[$row['attribute_id']])) {
843
+ $values[$row['entity_id']][$attributes[$row['attribute_id']]['attribute_code']] = $row['value'];
844
+ }
845
}
846
847
return $values;
0 commit comments