Skip to content

Commit 67a3397

Browse files
authored
Bugfix: Sort multiline form elements by given array keys before imploding.
1 parent 821bcac commit 67a3397

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Customer/Model/Metadata/Form/Multiline.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public function validateValue($value)
8282
public function compactValue($value)
8383
{
8484
if (is_array($value)) {
85+
ksort($value);
8586
$value = trim(implode("\n", $value));
8687
}
8788
$value = [$value];

0 commit comments

Comments
 (0)