Followup to #4361 / New Hook: removed the "&" when calling the hook method (Thanks...
authorBenni Mack <benni.mack@typo3.org>
Sun, 28 Jun 2009 11:14:45 +0000 (11:14 +0000)
committerBenni Mack <benni.mack@typo3.org>
Sun, 28 Jun 2009 11:14:45 +0000 (11:14 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5648 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.db_list.inc

index 867a689..03862d0 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-28  Benjamin Mack <benni@typo3.org>
+
+       * Followup to #4361 / New Hook: removed the "&" when calling the hook method (Thanks to Xavier Perseguers)
+
 2009-06-27  Steffen Kamper  <info@sk-typo3.de>
 
        * Fixed bug #11406: querygenerator/fullsearch doesn't use t3lib_iconWorks::skinImg, added alignment for images
index 0e0b4ab..c57c8fd 100644 (file)
@@ -468,7 +468,7 @@ class recordList extends t3lib_recordList {
                $hookObjectsArr = array();
                if (is_array ($TYPO3_CONF_VARS['SC_OPTIONS']['typo3/class.db_list.inc']['makeQueryArray'])) {
                        foreach ($TYPO3_CONF_VARS['SC_OPTIONS']['typo3/class.db_list.inc']['makeQueryArray'] as $classRef) {
-                               $hookObjectsArr[] = &t3lib_div::getUserObj($classRef);
+                               $hookObjectsArr[] = t3lib_div::getUserObj($classRef);
                        }
                }