We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3aca4dc commit adefd88Copy full SHA for adefd88
lib/internal/Magento/Framework/Url.php
@@ -591,8 +591,8 @@ protected function _getRoutePath($routeParams = [])
591
return $routePath;
592
}
593
$routePath = $this->_getActionPath();
594
- if ($this->_getRouteParams()) {
595
- foreach ($this->_getRouteParams() as $key => $value) {
+ if ($routeParams !== null) {
+ foreach ($routeParams as $key => $value) {
596
if ($value === null || false === $value || '' === $value || !is_scalar($value)) {
597
continue;
598
0 commit comments