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 64263d8 commit 0146e85Copy full SHA for 0146e85
app/code/Magento/Catalog/Model/Category/AttributeRepository.php
@@ -80,7 +80,7 @@ public function get($attributeCode)
80
*/
81
public function getCustomAttributesMetadata($dataObjectClassName = null)
82
{
83
- if (empty($this->metadataCache[$dataObjectClassName])) {
+ if (!isset($this->metadataCache[$dataObjectClassName])) {
84
$defaultAttributeSetId = $this->eavConfig
85
->getEntityType(\Magento\Catalog\Api\Data\CategoryAttributeInterface::ENTITY_TYPE_CODE)
86
->getDefaultAttributeSetId();
0 commit comments