From dde2a48108fbce2df4b7424653441a454ebe055d Mon Sep 17 00:00:00 2001 From: Tomasz Narloch Date: Mon, 1 Oct 2018 22:46:17 +0200 Subject: [PATCH] Fix links to restricted pages --- libraries/src/Component/Router/Rules/MenuRules.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/src/Component/Router/Rules/MenuRules.php b/libraries/src/Component/Router/Rules/MenuRules.php index bb73065072b7a..add4fea403bc1 100644 --- a/libraries/src/Component/Router/Rules/MenuRules.php +++ b/libraries/src/Component/Router/Rules/MenuRules.php @@ -202,6 +202,9 @@ protected function buildLookup($language = '*') $attributes[] = 'language'; $values[] = array($language, '*'); + $attributes[] = 'access'; + $values[] = null; + $items = $this->router->menu->getItems($attributes, $values); foreach ($items as $item)