Skip to content

Commit e6a7a4e

Browse files
#6916 Fix notice during Update Bundle Product without changes in bundle items
1 parent 3839c0f commit e6a7a4e

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)