Skip to content

Commit

Permalink
Replace getRequestUri() by getUri()
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Jul 16, 2018
1 parent 653760f commit e2a33a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helper/NavigationTreeHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ protected static function nodeMatch(AbstractNavigationNode $node, Request $reque
switch ($node->getMatcher()) {

case NavigationInterface::NAVIGATION_MATCHER_REGEXP:
$result = preg_match("/" . $node->getRoute() . "/", $request->getRequestUri());
$result = preg_match("/" . $node->getRoute() . "/", $request->getUri());
break;

case NavigationInterface::NAVIGATION_MATCHER_ROUTER:
Expand Down

0 comments on commit e2a33a3

Please sign in to comment.