[BUGFIX] Never show hidden domains in preview
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Classes / Controller / TypoScriptFrontendController.php
index 8af35c9..0b771ac 100644 (file)
@@ -4652,7 +4652,7 @@ class TypoScriptFrontendController {
                        $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
                                'uid, pid, domainName, forced',
                                'sys_domain',
-                               'redirectTo=\'\' ' . $GLOBALS['TSFE']->sys_page->enableFields('sys_domain'),
+                               'redirectTo=\'\' ' . $GLOBALS['TSFE']->sys_page->enableFields('sys_domain', 0),
                                '',
                                'sorting ASC'
                        );