Skip to content

Commit

Permalink
Merge branch '1.9.4.x' into setpart_is_wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano committed Mar 2, 2023
2 parents 9450cbc + 74beed6 commit adfdc4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/code/core/Mage/Catalog/Model/Resource/Category/Flat.php
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,9 @@ protected function _getAttributeValues($entityIds, $store_id)
];
foreach ($attributesType as $type) {
foreach ($this->_getAttributeTypeValues($type, $entityIds, $store_id) as $row) {
$values[$row['entity_id']][$attributes[$row['attribute_id']]['attribute_code']] = $row['value'];
if (isset($attributes[$row['attribute_id']])) {
$values[$row['entity_id']][$attributes[$row['attribute_id']]['attribute_code']] = $row['value'];
}
}
}
return $values;
Expand Down

0 comments on commit adfdc4d

Please sign in to comment.