Followup to #4361 / New Hook: removed the "&" when calling the hook method (Thanks...
[Packages/TYPO3.CMS.git] / typo3 / class.db_list.inc
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);
                        }
                }