diff --git a/Helper/NavigationTreeHelper.php b/Helper/NavigationTreeHelper.php index 5450a7c7..bc1267b0 100644 --- a/Helper/NavigationTreeHelper.php +++ b/Helper/NavigationTreeHelper.php @@ -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: