Skip to content

Commit b36a0ab

Browse files
committed
Reverted back extra changes
1 parent 305aa0b commit b36a0ab

File tree

1 file changed

+0
-17
lines changed
  • app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option

1 file changed

+0
-17
lines changed

app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Multi.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,4 @@ class Multi extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Optio
1616
* @var string
1717
*/
1818
protected $_template = 'Magento_Bundle::catalog/product/view/type/bundle/option/multi.phtml';
19-
20-
/**
21-
* @inheritdoc
22-
* @since 100.2.0
23-
*/
24-
protected function assignSelection(\Magento\Bundle\Model\Option $option, $selectionId)
25-
{
26-
if (is_array($selectionId)) {
27-
foreach ($selectionId as $id) {
28-
if ($id && $option->getSelectionById($id)) {
29-
$this->_selectedOptions[] = $id;
30-
}
31-
}
32-
} else {
33-
parent::assignSelection($option, $selectionId);
34-
}
35-
}
3619
}

0 commit comments

Comments
 (0)