From 18f8f015815b9b215f2423bad32670a73671eaff Mon Sep 17 00:00:00 2001 From: MAB Date: Tue, 31 Jul 2018 10:10:05 +0200 Subject: [PATCH] [MODIFY] fixes bug of checking existing shortcut --- Classes/Service/PageService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Service/PageService.php b/Classes/Service/PageService.php index 20599a07a..c5b63f910 100644 --- a/Classes/Service/PageService.php +++ b/Classes/Service/PageService.php @@ -71,7 +71,7 @@ public function getMenu( } static::$cachedMenus[$cacheKey] = array_filter( - $pageRepository->getMenu($pageUid, '*', 'sorting', $pageConstraints), + $pageRepository->getMenu($pageUid, '*', 'sorting', $pageConstraints, false), function($page) { return $this->hidePageForLanguageUid($page) === false; }