From 4ac3fda967eb0bb9d925a33a8bba530ffc600368 Mon Sep 17 00:00:00 2001 From: Oliver Hader Date: Mon, 31 Mar 2008 09:32:57 +0000 Subject: [PATCH] Fixed bug #7954: XCLASSing ToolbarItem does not work git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3484 709f56b5-9817-0410-a4d7-c38de5d9e867 --- ChangeLog | 4 ++++ typo3/backend.php | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6615ad03a83f..d2b07b871bf2 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-03-31 Oliver Hader + + * Fixed bug #7954: XCLASSing ToolbarItem does not work (thanks to Steffen Kamper) + 2008-03-31 Dmitry Dulepov * Fixed bug #7920: Filelist in IE 6 is not showing contents (thanks to Ingo Schmitt and Steffen Kamper) diff --git a/typo3/backend.php b/typo3/backend.php index fed994b74587..f5a59cc4721d 100644 --- a/typo3/backend.php +++ b/typo3/backend.php @@ -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)) { -- 2.20.1