Skip to content

Commit f59024f

Browse files
author
Oleksii Korshenko
authored
Merge pull request #1341 from magento-engcom/2.1-develop-prs
Public Pull Requests #10282
2 parents eebd8f4 + b92d4e3 commit f59024f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ protected function isOptionsValid(array $options, Attribute $attribute)
430430
if ($this->isOptionForDelete($attribute, $optionId)) {
431431
continue;
432432
}
433-
if (empty($option[0])) {
433+
if (!isset($option[0]) || $option[0] === '') {
434434
return false;
435435
}
436436
}

0 commit comments

Comments
 (0)