Skip to content

Commit 05f655a

Browse files
ameysaraakimov
authored andcommitted
MAGETWO-89066: Category chooser shows blank block
1 parent ac5ef5e commit 05f655a

File tree

1 file changed

+4
-0
lines changed
  • app/code/Magento/Backend/Model

1 file changed

+4
-0
lines changed

app/code/Magento/Backend/Model/Url.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@ public function getUrl($routePath = null, $routeParams = null)
213213
$routeParams[self::SECRET_KEY_PARAM_NAME] = $secretKey;
214214
}
215215

216+
if (is_array($this->_getRouteParams())) {
217+
$routeParams = array_merge($this->_getRouteParams(), $routeParams);
218+
}
219+
216220
return parent::getUrl("{$routeName}/{$controllerName}/{$actionName}", $routeParams);
217221
}
218222

0 commit comments

Comments
 (0)