Skip to content

Commit e74ae17

Browse files
author
Oleksii Korshenko
authored
MAGETWO-86022: #6916 Fix notice during Update Bundle Product without changes #12734
2 parents 5d572a0 + f780241 commit e74ae17

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Bundle/Controller/Adminhtml/Product/Initialization/Helper/Plugin

1 file changed

+1
-1
lines changed

app/code/Magento/Bundle/Controller/Adminhtml/Product/Initialization/Helper/Plugin/Bundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ protected function processBundleOptionsData(\Magento\Catalog\Model\Product $prod
127127
}
128128
$options = [];
129129
foreach ($bundleOptionsData as $key => $optionData) {
130-
if ((bool)$optionData['delete']) {
130+
if (!empty($optionData['delete'])) {
131131
continue;
132132
}
133133

0 commit comments

Comments
 (0)