modified the interface for toolbarItems so that the reference to the backend Object...
[Packages/TYPO3.CMS.git] / typo3 / classes / class.workspaceselector.php
index 0bee2fd..93804e4 100644 (file)
@@ -50,7 +50,7 @@ class WorkspaceSelector implements backend_toolbarItem {
         *
         * @param       TYPO3backend    TYPO3 backend object reference
         */
-       public function __construct(TYPO3backend &$backendReference) {
+       public function __construct(TYPO3backend &$backendReference = null) {
                $this->backendReference       = $backendReference;
 
                $this->changeWorkspace        = t3lib_div::_GP('changeWorkspace');