[BUGFIX] Load adminPanel styles for FE editing
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / FrontendBackendUserAuthentication.php
index 3127aa1..ad81b3b 100644 (file)
@@ -146,7 +146,7 @@ class FrontendBackendUserAuthentication extends \TYPO3\CMS\Core\Authentication\B
         * @return boolean Whether frontend editing is active
         */
        public function isFrontendEditingActive() {
-               return $this->extAdmEnabled && ($this->adminPanel->isAdminModuleEnabled('edit') && $this->adminPanel->isAdminModuleOpen('edit') || $GLOBALS['TSFE']->displayEditIcons == 1);
+               return $this->extAdmEnabled && ($this->adminPanel->isAdminModuleEnabled('edit') || $GLOBALS['TSFE']->displayEditIcons == 1);
        }
 
        /**