Commit 0d027af0 authored by Mathias Schreiber's avatar Mathias Schreiber Committed by Andreas Wolf
Browse files

[BUGFIX] Do not show sysfolders on pid 0 in sites module

Pages of the doktype “sys_folder” are no longer shown as valid entrypoints
into a site.

Resolves: #84663
Releases: master
Change-Id: I92fa2966ccf9319df52d656a30ec35a767c2dd21

Tested-by: default avatarTYPO3com <>
Reviewed-by: Frank Nägler's avatarFrank Naegler <>
Tested-by: Frank Nägler's avatarFrank Naegler <>
Reviewed-by: Andreas Wolf's avatarAndreas Wolf <>
Tested-by: Andreas Wolf's avatarAndreas Wolf <>
parent 8814cce6
......@@ -42,6 +42,7 @@ use TYPO3\CMS\Core\Site\Entity\Site;
use TYPO3\CMS\Core\Site\SiteFinder;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Fluid\View\StandaloneView;
use TYPO3\CMS\Frontend\Page\PageRepository;
use TYPO3Fluid\Fluid\View\ViewInterface;
......@@ -605,7 +606,10 @@ class SiteConfigurationController
$queryBuilder->expr()->eq('sys_language_uid', 0),
$queryBuilder->expr()->eq('pid', 0),
$queryBuilder->expr()->eq('pid', 0),
$queryBuilder->expr()->neq('doktype', PageRepository::DOKTYPE_SYSFOLDER)
$queryBuilder->expr()->eq('is_siteroot', 1)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment