Skip to content

Commit b834869

Browse files
ENGCOM-3487: issue #19205 fixed for 2.3-develop #19261
- Merge Pull Request #19261 from maheshWebkul721/magento2:2.3-bundle-cart-fix - Merged commits: 1. 9dfe137 2. eb2e505
2 parents 4126ffc + eb2e505 commit b834869

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Bundle/Model/Product

1 file changed

+2
-2
lines changed

app/code/Magento/Bundle/Model/Product/Type.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,11 +823,11 @@ private function recursiveIntval(array $array)
823823
private function multiToFlatArray(array $array)
824824
{
825825
$flatArray = [];
826-
foreach ($array as $key => $value) {
826+
foreach ($array as $value) {
827827
if (is_array($value)) {
828828
$flatArray = array_merge($flatArray, $this->multiToFlatArray($value));
829829
} else {
830-
$flatArray[$key] = $value;
830+
$flatArray[] = $value;
831831
}
832832
}
833833

0 commit comments

Comments
 (0)