corrected message for wrong implementation of toolbarItem interface
authorIngo Renner <ingo.renner@typo3.org>
Sun, 20 Jan 2008 12:12:02 +0000 (12:12 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Sun, 20 Jan 2008 12:12:02 +0000 (12:12 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2928 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/backend.php

index fc23601..85605e6 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2008-01-20  Ingo Renner  <ingo@typo3.org>
 
        * fixed bug #7211: "Start in Module" does not work anymore
+       * corrected message for wrong implementation of toolbarItem interface
 
 2008-01-19  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
 
index 2aa7df1..3d0e541 100644 (file)
@@ -730,7 +730,7 @@ class TYPO3backend {
                $toolbarItem = t3lib_div::getUserObj($toolbarItemClassReference);
 
                if(!($toolbarItem instanceof t3lib_backendToolbarItem)) {
-                       throw new UnexpectedValueException('$toolbarItem "'.$toolbarItemName.'" must implement interface t3lib_backendToolbarItem', 1195125501);
+                       throw new UnexpectedValueException('$toolbarItem "'.$toolbarItemName.'" must implement interface backend_toolbarItem', 1195125501);
                }
 
                $toolbarItem->setBackend($this);