modified the interface for toolbarItems so that the reference to the backend Object...
[Packages/TYPO3.CMS.git] / typo3 / sysext / opendocs / class.tx_opendocs.php
index e40da02..fc149a6 100644 (file)
@@ -56,7 +56,7 @@ class tx_opendocs implements backend_toolbarItem {
         *
         * @param       TYPO3backend    TYPO3 backend object reference
         */
-       public function __construct(TYPO3backend &$backendReference) {
+       public function __construct(TYPO3backend &$backendReference = null) {
                $this->backendReference = $backendReference;
 
                list($this->openDocs,)  = $GLOBALS['BE_USER']->getModuleData('alt_doc.php','ses');