Project

General

Profile

Bug #75116 ยป patch.diff

Heiko Hardt, 2016-03-14 21:47

View differences:

typo3/sysext/frontend/Classes/Page/PageRepository.php
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;
    (1-1/1)