Added feature #9075: Add record row to recStatInfoHooks in tx_cms_layout
authorOliver Hader <oliver.hader@typo3.org>
Fri, 8 Aug 2008 12:13:46 +0000 (12:13 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Fri, 8 Aug 2008 12:13:46 +0000 (12:13 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3951 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/layout/class.tx_cms_layout.php

index 153f4af..1f38a10 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-08  Oliver Hader  <oliver@typo3.org>
+
+       * Added feature #9075: Add record row to recStatInfoHooks in tx_cms_layout
+
 2008-08-08     Thomas Hempel  <thomas@typo3.org>
 
        * Added external JavaScript library extJS 2.2 to contrib
index 0d7e806..13ba9b1 100755 (executable)
@@ -1537,7 +1537,7 @@ class tx_cms_layout extends recordList {
                        // Call stats information hook
                $stat = '';
                if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['recStatInfoHooks']))  {
-                       $_params = array('tt_content',$row['uid']);
+                       $_params = array('tt_content', $row['uid'], &$row);
                        foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['recStatInfoHooks'] as $_funcRef)  {
                                $stat.=t3lib_div::callUserFunction($_funcRef,$_params,$this);
                        }