Skip to content

Commit 6187271

Browse files
author
okarpenko
committed
MAGETWO-40731: Merge Attribute configuration with UI listing
1 parent fe60b77 commit 6187271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/View/Element/UiComponentFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function create($identifier, $name = null, array $arguments = [])
144144
$identifier,
145145
$bundleComponents[$identifier]
146146
);
147-
$componentArguments = array_merge($componentArguments, $arguments);
147+
$componentArguments = array_replace_recursive($componentArguments, $arguments);
148148
if (!isset($componentArguments['context'])) {
149149
$componentArguments['context'] = $this->contextFactory->create([
150150
'namespace' => $identifier

0 commit comments

Comments
 (0)