Skip to content

Commit d506379

Browse files
author
okarpenko
committed
MAGETWO-45073: PHP notice during to create Text Swatch product attribute
1 parent c56d1df commit d506379

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Swatches/Model/Plugin/EavAttribute.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ public function beforeSave(Attribute $attribute)
8181
}
8282

8383
/**
84+
* Validate that attribute options is exists
85+
*
8486
* @param Attribute $attribute
8587
* @return bool
8688
* @throws InputException

0 commit comments

Comments
 (0)