[BUGFIX] adminpanel: Do not use getTSConfig in a deprecated way
[Packages/TYPO3.CMS.git] / typo3 / sysext / adminpanel / Classes / Service / ConfigurationService.php
index ef724e4..294fcca 100644 (file)
@@ -38,7 +38,7 @@ class ConfigurationService implements SingletonInterface
 
     public function __construct()
     {
-        $this->mainConfiguration = $this->getBackendUser()->getTSConfig('admPanel')['properties'];
+        $this->mainConfiguration = $this->getBackendUser()->getTSConfig()['admPanel.'] ?? [];
     }
 
     /**