modified the interface for toolbarItems so that the reference to the backend Object...
[Packages/TYPO3.CMS.git] / typo3 / classes / class.backendsearchmenu.php
index f9b31ad..1dc4e2e 100644 (file)
@@ -49,7 +49,7 @@ class BackendSearchMenu implements backend_toolbarItem {
         *
         * @param       TYPO3backend    TYPO3 backend object reference
         */
-       public function __construct(TYPO3backend &$backendReference) {
+       public function __construct(TYPO3backend &$backendReference = null) {
                $this->backendReference = $backendReference;
        }