[BUGFIX] Do not pass by reference (2)
authorPhilipp Gampe <dev@philippgampe.info>
Fri, 4 May 2012 17:08:52 +0000 (19:08 +0200)
committerPhilipp Gampe <dev@philippgampe.info>
Fri, 4 May 2012 17:08:52 +0000 (19:08 +0200)
Change-Id: Ic2e4bc864e324126ead31e850a92bc6161fc87f5
Fixes: #36851
Releases: 6.0, 4.7, 4.6, 4.5

typo3/sysext/linkvalidator/modfuncreport/class.tx_linkvalidator_modfuncreport.php

index d578833..63160db 100644 (file)
@@ -292,7 +292,7 @@ class tx_linkvalidator_ModFuncReport extends t3lib_extobjbase {
        protected function initialize() {
                if (is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['linkvalidator']['checkLinks'])) {
                        foreach ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['linkvalidator']['checkLinks'] as $linkType => $classRef) {
-                               $this->hookObjectsArr[$linkType] = &t3lib_div::getUserObj($classRef);
+                               $this->hookObjectsArr[$linkType] = t3lib_div::getUserObj($classRef);
                        }
                }