diff --git a/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php b/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php index ae668430cc7e358c7f78d341c223dd6294e00874..47d07fce559d9b0202262ebecdf20d8cb021adb9 100644 --- a/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php +++ b/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php @@ -106,7 +106,7 @@ class FrontendBackendUserAuthentication extends BackendUserAuthentication $languageId = $languageAspect->getId(); } elseif ($table === 'tt_content') { $languageId = $languageAspect->getContentId(); - } elseif ($GLOBALS['TCA'][$table]['ctrl']['languageField']) { + } elseif ($GLOBALS['TCA'][$table]['ctrl']['languageField'] ?? false) { $languageId = $currentRecord[$GLOBALS['TCA'][$table]['ctrl']['languageField']]; } else { $languageId = -1; @@ -176,7 +176,7 @@ class FrontendBackendUserAuthentication extends BackendUserAuthentication { $types = GeneralUtility::trimExplode(',', strtolower($conf['allow']), true); $allow = array_flip($types); - if (!$conf['onlyCurrentPid'] || $pid == $GLOBALS['TSFE']->id) { + if (!($conf['onlyCurrentPid'] ?? false) || $pid == $GLOBALS['TSFE']->id) { // Permissions $types = GeneralUtility::trimExplode(',', strtolower($conf['allow']), true); $allow = array_flip($types);