[BUGFIX] Hook must use unset $params not reset
authorPhilipp Gampe <dev@philippgampe.info>
Mon, 19 Mar 2012 19:34:39 +0000 (20:34 +0100)
committerPhilipp Gampe <dev@philippgampe.info>
Mon, 19 Mar 2012 19:34:39 +0000 (20:34 +0100)
Change-Id: I456e74e2ccb666dc494ced586607cee355dd65fc
Fixes: #35021
Related: #30296
Releases: 4.7, 4.8

typo3/sysext/linkvalidator/classes/tasks/class.tx_linkvalidator_tasks_validator.php

index 5fb308f..43cbcc1 100644 (file)
@@ -423,7 +423,7 @@ class tx_linkvalidator_tasks_Validator extends tx_scheduler_Task {
                                if (is_array($newMarkers)) {
                                        $markerArray = t3lib_div::array_merge($markerArray, $newMarkers);
                                }
-                               reset($params);
+                               unset($params);
                        }
                }
 
@@ -511,7 +511,7 @@ class tx_linkvalidator_tasks_Validator extends tx_scheduler_Task {
                                if (is_array($newMarkers)) {
                                        $markerArray = t3lib_div::array_merge($markerArray, $newMarkers);
                                }
-                               reset($params);
+                               unset($params);
                        }
                }
 
@@ -560,4 +560,4 @@ class tx_linkvalidator_tasks_Validator extends tx_scheduler_Task {
 if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/linkvalidator/classes/tasks/class.tx_linkvalidator_tasks_validator.php'])) {
        include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/linkvalidator/classes/tasks/class.tx_linkvalidator_tasks_validator.php']);
 }
-?>
\ No newline at end of file
+?>