Skip to content

Commit fad225b

Browse files
file reverted
2 parents 3ff0161 + 7a2d534 commit fad225b

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ private function multiToFlatArray(array $array)
827827
if (is_array($value)) {
828828
$flatArray = array_merge($flatArray, $this->multiToFlatArray($value));
829829
} else {
830-
$flatArray[] = $value;
830+
$flatArray[$key] = $value;
831831
}
832832
}
833833

0 commit comments

Comments
 (0)