Skip to content

Commit adefd88

Browse files
committed
ACP2E-1801: Bundle products cannot be added to admin order by SKU which contains slashes
1 parent 3aca4dc commit adefd88

File tree

1 file changed

+2
-2
lines changed
  • lib/internal/Magento/Framework

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Url.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,8 +591,8 @@ protected function _getRoutePath($routeParams = [])
591591
return $routePath;
592592
}
593593
$routePath = $this->_getActionPath();
594-
if ($this->_getRouteParams()) {
595-
foreach ($this->_getRouteParams() as $key => $value) {
594+
if ($routeParams !== null) {
595+
foreach ($routeParams as $key => $value) {
596596
if ($value === null || false === $value || '' === $value || !is_scalar($value)) {
597597
continue;
598598
}

0 commit comments

Comments
 (0)