Skip to content

Commit ae6a297

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 aad5ba9 commit ae6a297

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 ? $attributesData : false;
571+
return $attributesData === false ? false: $attributesData;
572572
}
573573
}

0 commit comments

Comments
 (0)