Skip to content

Commit 4a3fb1f

Browse files
author
Shikha Mishra
authored
Fixed #22484 Customer address States are duplicated in backend
1 parent 9cdc1b7 commit 4a3fb1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/Component/Form/Element/AbstractOptionsField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function prepare()
5959
if (empty($config['rawOptions'])) {
6060
$options = $this->convertOptionsValueToString($options);
6161
}
62-
$config['options'] = array_values(array_merge_recursive($config['options'], $options));
62+
$config['options'] = array_values(array_replace_recursive($config['options'], $options));
6363
}
6464
$this->setData('config', (array)$config);
6565
parent::prepare();

0 commit comments

Comments
 (0)