Skip to content

Commit

Permalink
ENGCOM-3487: issue #19205 fixed for 2.3-develop #19261
Browse files Browse the repository at this point in the history
  • Loading branch information
sidolov authored Dec 6, 2018
2 parents 6836d4a + b834869 commit 71e7b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/Bundle/Model/Product/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -823,11 +823,11 @@ private function recursiveIntval(array $array)
private function multiToFlatArray(array $array)
{
$flatArray = [];
foreach ($array as $key => $value) {
foreach ($array as $value) {
if (is_array($value)) {
$flatArray = array_merge($flatArray, $this->multiToFlatArray($value));
} else {
$flatArray[$key] = $value;
$flatArray[] = $value;
}
}

Expand Down

0 comments on commit 71e7b2f

Please sign in to comment.