modified the interface for toolbarItems so that the reference to the backend Object...
[Packages/TYPO3.CMS.git] / typo3 / classes / class.shortcutmenu.php
index 99c8414..7088dbe 100644 (file)
@@ -81,7 +81,7 @@ class ShortcutMenu implements backend_toolbarItem {
         * @param       TYPO3backend    TYPO3 backend object reference
         * @return      void
         */
-       public function __construct(TYPO3backend &$backendReference) {
+       public function __construct(TYPO3backend &$backendReference = null) {
                $this->backendReference = $backendReference;
                $this->shortcuts        = array();