Skip to content

Commit 9c600b4

Browse files
committed
Revert "#37953: Attribute getStoreLabel wrong behavior"
This reverts commit 6b7a559.
1 parent 2ea48d9 commit 9c600b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Eav/Model/Entity/Attribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ public function getStoreLabels()
489489
*/
490490
public function getStoreLabel($storeId = null)
491491
{
492-
if ($this->hasData('store_label') && $storeId === null) {
492+
if ($this->hasData('store_label')) {
493493
return $this->getData('store_label');
494494
}
495495
$store = $this->_storeManager->getStore($storeId);

0 commit comments

Comments
 (0)