Skip to content

Commit 1218a61

Browse files
author
Stanislav Idolov
committed
MAGETWO-71136: Cannot save attribute in product page admin with a related conf product that has different attribute set sharing a multiselect attribute
1 parent 4223ef2 commit 1218a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ protected function _isApplicableAttribute($object, $attribute)
601601
*/
602602
private function getAttributesByScope($suffix)
603603
{
604-
return (isset($this->attributesByScope[$suffix]) && !empty($this->attributesByScope[$suffix]))
604+
return !empty($this->attributesByScope[$suffix])
605605
? $this->attributesByScope[$suffix]
606606
: $this->getAttributesByCode();
607607
}

0 commit comments

Comments
 (0)