Skip to content

Commit 26c5dc1

Browse files
committed
MAGETWO-34294: There is no ability to create bundle product
1 parent 3e64773 commit 26c5dc1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/code/Magento/Bundle/Model/Resource/Bundle.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ public function getSelectionsData($productId)
9393
*/
9494
public function dropAllQuoteChildItems($productId)
9595
{
96-
$adapter = $this->quoteResource->getReadConnection()->select()->getAdapter();
96+
$select = $this->quoteResource->getReadConnection()->select();
97+
$adapter = $select->getAdapter();
9798
$quoteItemIds = $adapter->fetchCol(
98-
$this->_getReadAdapter()->select()->from(
99+
$select->from(
99100
$this->getTable('quote_item'),
100101
['item_id']
101102
)->where(

0 commit comments

Comments
 (0)