Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Commit

Permalink
Use parameters first for URLs in locale selector
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Oct 23, 2016
1 parent 4099cca commit 882fc80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/custom/src/MW/View/Helper/Url/Slim.php
Expand Up @@ -60,6 +60,6 @@ public function transform( $target = null, $controller = null, $action = null, a
return $this->router->pathFor( $target, $this->fixed + $params );
}

return $this->router->relativePathFor( $target, $this->fixed + $params );
return $this->router->relativePathFor( $target, $params + $this->fixed );
}
}

0 comments on commit 882fc80

Please sign in to comment.