Commit abc757fe authored by Christian Toffolo's avatar Christian Toffolo Committed by Benni Mack
Browse files

[BUGFIX] Search for site root only in default language pages

Resolves: #91550
Releases: master, 10.4, 9.5
Change-Id: I1de1eadbac4b4973250bba2dbf887efb19df872d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64797


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
parent 0914c0bc
......@@ -172,7 +172,8 @@ class BackendConfigurationManager extends AbstractConfigurationManager
->select('uid')
->from('pages')
->where(
$queryBuilder->expr()->eq('is_siteroot', $queryBuilder->createNamedParameter(1, \PDO::PARAM_INT))
$queryBuilder->expr()->eq('is_siteroot', $queryBuilder->createNamedParameter(1, \PDO::PARAM_INT)),
$queryBuilder->expr()->eq('sys_language_uid', $queryBuilder->createNamedParameter(0, \PDO::PARAM_INT))
)
->orderBy('sorting')
->execute()
......
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