projects
/
Packages
/
TYPO3.CMS.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug #7954: XCLASSing ToolbarItem does not work
[Packages/TYPO3.CMS.git]
/
typo3
/
backend.php
diff --git
a/typo3/backend.php
b/typo3/backend.php
index
fed994b
..
f5a59cc
100644
(file)
--- a/
typo3/backend.php
+++ b/
typo3/backend.php
@@
-128,6
+128,8
@@
class TYPO3backend {
);
foreach($coreToolbarItems as $toolbarItemName => $toolbarItemClassName) {
);
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)) {
$toolbarItem = new $toolbarItemClassName($this);
if(!($toolbarItem instanceof backend_toolbarItem)) {