We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d74b4d8 commit 0de8d8eCopy full SHA for 0de8d8e
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 ($optionsArray['delete'][$optionId] == 1) {
+ if (isset($optionsArray['delete']) && $optionsArray['delete'][$optionId] == 1) {
178
unset($optionsArray['value'][$optionId]);
179
}
180
0 commit comments