Fixed bug #7954: XCLASSing ToolbarItem does not work
authorOliver Hader <oliver.hader@typo3.org>
Mon, 31 Mar 2008 09:32:57 +0000 (09:32 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 31 Mar 2008 09:32:57 +0000 (09:32 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3484 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/backend.php

index 6615ad0..d2b07b8 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-31  Oliver Hader  <oliver@typo3.org>
+
+       * Fixed bug #7954: XCLASSing ToolbarItem does not work (thanks to Steffen Kamper)
+
 2008-03-31  Dmitry Dulepov  <dmitry@typo3.org>
 
        * Fixed bug #7920: Filelist in IE 6 is not showing contents (thanks to Ingo Schmitt and Steffen Kamper)
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)) {