Skip to content

Commit

Permalink
Merge pull request #1341 from magento-engcom/2.1-develop-prs
Browse files Browse the repository at this point in the history
Public Pull Requests

#10282
  • Loading branch information
Oleksii Korshenko authored Jul 18, 2017
2 parents eebd8f4 + b92d4e3 commit f59024f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Swatches/Model/Plugin/EavAttribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ protected function isOptionsValid(array $options, Attribute $attribute)
if ($this->isOptionForDelete($attribute, $optionId)) {
continue;
}
if (empty($option[0])) {
if (!isset($option[0]) || $option[0] === '') {
return false;
}
}
Expand Down

0 comments on commit f59024f

Please sign in to comment.