.../frontend/Classes/Controller/TypoScriptFrontendController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php index d840b37..b043c68 100644 --- a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php +++ b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php @@ -1332,7 +1332,7 @@ class TypoScriptFrontendController { $originalFrontendUser = $this->fe_user->user; } $this->showHiddenPage = (bool)$GLOBALS['BE_USER']->adminPanel->extGetFeAdminValue('preview', 'showHiddenPages'); - $this->showHiddenRecords = (bool)$GLOBALS['BE_USER']->adminPanel->extGetFeAdminValue('preview', 'showHiddenRecords'); + $this->showHiddenRecords = $GLOBALS['BE_USER']->adminPanel->extGetFeAdminValue('preview', 'showHiddenRecords'); // Simulate date $simTime = $GLOBALS['BE_USER']->adminPanel->extGetFeAdminValue('preview', 'simulateDate'); if ($simTime) { @@ -1360,7 +1360,7 @@ class TypoScriptFrontendController { if ($this->determineIdIsHiddenPage()) { // The preview flag is set only if the current page turns out to actually be hidden! $this->fePreview = 1; - $this->showHiddenPage = TRUE; + $this->showHiddenPage = 1; } // For Live workspace: Check root line for proper connection to tree root (done because of possible preview of page / branch versions) if (!$this->fePreview && $this->whichWorkspace() === 0) {