Skip to content

Commit 0660a41

Browse files
author
Artem Kirkor
committed
Issue #35808 Update associatedProducts variable type from bool to array
1 parent 28c1f28 commit 0660a41

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/GroupedProduct/Model/Product/Type

1 file changed

+1
-1
lines changed

app/code/Magento/GroupedProduct/Model/Product/Type/Grouped.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ protected function _prepareProduct(\Magento\Framework\DataObject $buyRequest, $p
386386
}
387387
$associatedProducts = !$isStrictProcessMode || !empty($productsInfo)
388388
? $this->getAssociatedProducts($product)
389-
: false;
389+
: [];
390390

391391
foreach ($associatedProducts as $subProduct) {
392392
$qty = $productsInfo[$subProduct->getId()];

0 commit comments

Comments
 (0)