diff --git a/typo3/sysext/backend/Classes/Controller/Page/TreeController.php b/typo3/sysext/backend/Classes/Controller/Page/TreeController.php index 076244f23615adc1996fc9dde2248243f3313b7f..f2ff74207d10db65324848e8984fb2c4a2f1b046 100644 --- a/typo3/sysext/backend/Classes/Controller/Page/TreeController.php +++ b/typo3/sysext/backend/Classes/Controller/Page/TreeController.php @@ -352,9 +352,6 @@ class TreeController if (in_array($pageId, $this->hiddenRecords, true)) { return []; } - if ($pageId === 0 && !$backendUser->isAdmin()) { - return []; - } $stopPageTree = !empty($page['php_tree_stop']) && $depth > 0; $identifier = $entryPoint . '_' . $pageId; diff --git a/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php b/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php index 10d7ec201d0af111b75d6669ccc86fa78dfa1755..2bbebf260c1a98574a98166e469f53a185a0845a 100644 --- a/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php +++ b/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php @@ -340,7 +340,7 @@ class BackendUserAuthentication extends AbstractUserAuthentication $checkRec = []; $fetchPageFromDatabase = true; if (is_array($idOrRow)) { - if (empty($idOrRow['uid'])) { + if (!isset($idOrRow['uid'])) { throw new \RuntimeException('The given page record is invalid. Missing uid.', 1578950324); } $checkRec = $idOrRow;