Fixed bug #12005: Reports don't have a back reference to the reports module
authorIngo Renner <ingo.renner@typo3.org>
Sat, 19 Sep 2009 16:07:44 +0000 (16:07 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Sat, 19 Sep 2009 16:07:44 +0000 (16:07 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5989 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/reports/mod/index.php

index 3d0b201..24e1a59 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-19  Ingo Renner  <ingo@typo3.org>
+
+       * Fixed bug #12005: Reports don't have a back reference to the reports module
+
 2009-09-19  Rupert Germann  <rupi@gmx.li>
 
        * Fixed bug #11917: TCEforms suggest fails with empty label or label_alt field (thanks to Andreas Wolf)
index 2eec2ad..54dbd8f 100644 (file)
@@ -179,7 +179,7 @@ class tx_reports_Module extends t3lib_SCbase {
                        $reportClass = $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports'][$extKey][$reportName]['report'];
                        $title       = $GLOBALS['LANG']->sL($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports'][$extKey][$reportName]['title']);
 
-                       $reportInstance = t3lib_div::makeInstance($reportClass);
+                       $reportInstance = t3lib_div::makeInstance($reportClass, $this);
 
                        if ($reportInstance instanceof tx_reports_Report) {
                                $content = $reportInstance->getReport();