Fixed bug #7954: XCLASSing ToolbarItem does not work
[Packages/TYPO3.CMS.git] / typo3 / backend.php
index fed994b..f5a59cc 100644 (file)
@@ -128,6 +128,8 @@ class TYPO3backend {
                );
 
                foreach($coreToolbarItems as $toolbarItemName => $toolbarItemClassName) {
+                               // Get name of XCLASS (if any):
+                       $toolbarItemClassName = t3lib_div::makeInstanceClassName($toolbarItemClassName);
                        $toolbarItem = new $toolbarItemClassName($this);
 
                        if(!($toolbarItem instanceof backend_toolbarItem)) {