We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 619ac30 commit 84e649eCopy full SHA for 84e649e
app/code/Magento/Swatches/Model/Plugin/EavAttribute.php
@@ -174,7 +174,7 @@ protected function prepareOptionIds(array $optionsArray)
174
{
175
if (isset($optionsArray['value']) && is_array($optionsArray['value'])) {
176
foreach (array_keys($optionsArray['value']) as $optionId) {
177
- if (isset($optionsArray['delete']) && $optionsArray['delete'][$optionId] == 1) {
+ if (isset($optionsArray['delete'][$optionId]) && $optionsArray['delete'][$optionId] == 1) {
178
unset($optionsArray['value'][$optionId]);
179
}
180
0 commit comments