diff --git a/app/code/Magento/Swatches/Model/Plugin/EavAttribute.php b/app/code/Magento/Swatches/Model/Plugin/EavAttribute.php index 46bafbc418fb1..ed6f7ec18cf08 100644 --- a/app/code/Magento/Swatches/Model/Plugin/EavAttribute.php +++ b/app/code/Magento/Swatches/Model/Plugin/EavAttribute.php @@ -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; } }