Skip to content

Commit d82825f

Browse files
author
Nino Aratari
committed
magento/magento2 #8765:
Magento\Catalog\Model\ResourceModel\AbstractResource::getAttributeRawValue() returns false negative - fixed adding a strong check on return value
1 parent ae6a297 commit d82825f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/ResourceModel/AbstractResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,6 @@ public function getAttributeRawValue($entityId, $attribute, $store)
568568
$attributesData = $_data[1];
569569
}
570570

571-
return $attributesData === false ? false: $attributesData;
571+
return $attributesData === false ? false : $attributesData;
572572
}
573573
}

0 commit comments

Comments
 (0)