diff --git a/typo3/sysext/frontend/Classes/Page/PageRepository.php b/typo3/sysext/frontend/Classes/Page/PageRepository.php index ac69829..4d99f00 100644 --- a/typo3/sysext/frontend/Classes/Page/PageRepository.php +++ b/typo3/sysext/frontend/Classes/Page/PageRepository.php @@ -1126,7 +1126,9 @@ class PageRepository if ($show_hidden === -1 && is_object($this->getTypoScriptFrontendController())) { // If show_hidden was not set from outside and if TSFE is an object, set it // based on showHiddenPage and showHiddenRecords from TSFE - $show_hidden = $table === 'pages' ? $this->getTypoScriptFrontendController()->showHiddenPage : $this->getTypoScriptFrontendController()->showHiddenRecords; + $show_hidden = $table === 'pages' || $table === 'pages_language_overlay' + ? $this->getTypoScriptFrontendController()->showHiddenPage + : $this->getTypoScriptFrontendController()->showHiddenRecords; } if ($show_hidden === -1) { $show_hidden = 0;