diff --git a/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php b/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php index bf3242934072a1750faf7d1ed36a62ec0999f2d8..c5613a1e3200751624c50fcaa70f1a06c12dcaf4 100644 --- a/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php +++ b/typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php @@ -104,7 +104,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);