Fixed bug #12469: Pagerenderer miss headerData and footerData in hooks
authorSteffen Kamper <info@sk-typo3.de>
Thu, 5 Nov 2009 23:59:32 +0000 (23:59 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Thu, 5 Nov 2009 23:59:32 +0000 (23:59 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6345 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_pagerenderer.php

index 222e8a1..5b72232 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2009-11-06  Steffen Kamper  <info@sk-typo3.de>
 
+       * Fixed bug #12469: Pagerenderer miss headerData and footerData in hooks
        * Fixed bug #12437: Recycler produces some scroll bars + visual cleanup + js fixes
        * Fixed bug #12368: Context menu of page tree does not work anymore
        * Fixed bug #12468: User setup: items without csh are not aligned
index b956747..90aa3cb 100644 (file)
@@ -1246,6 +1246,8 @@ class t3lib_PageRenderer implements t3lib_Singleton {
                                'jsFiles'        => &$this->jsFiles,
                                'jsFooterFiles'  => &$this->jsFiles,
                                'cssFiles'       => &$this->cssFiles,
+                               'headerData'     => &$this->headerData,
+                               'footerData'     => &$this->footerData,
                        );
                        t3lib_div::callUserFunction($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['concatenateHandler'], $params, $this);
                } else {
@@ -1269,6 +1271,8 @@ class t3lib_PageRenderer implements t3lib_Singleton {
                                'jsLibs'          => &$this->jsLibs,
                                'jsFiles'         => &$this->jsFiles,
                                'jsFooterFiles'   => &$this->jsFiles,
+                               'headerData'      => &$this->headerData,
+                               'footerData'      => &$this->footerData,
                        );
                        t3lib_div::callUserFunction($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['jsCompressHandler'], $params, $this);
                } else {
@@ -1293,8 +1297,10 @@ class t3lib_PageRenderer implements t3lib_Singleton {
                if ($this->compressCss && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['cssCompressHandler']) {
                                // use extern compress routine
                        $params = array (
-                               'cssInline' => &$this->cssInline,
-                               'cssFiles'  => &$this->cssFiles,
+                               'cssInline'  => &$this->cssInline,
+                               'cssFiles'   => &$this->cssFiles,
+                               'headerData' => &$this->headerData,
+                               'footerData' => &$this->footerData,
                        );
                        t3lib_div::callUserFunction($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['cssCompressHandler'], $params, $this);
                } else {