[FOLLOWUP][BUGFIX] Convert ViewHelpers to static calling 78/52778/2
authorClaus Due <claus@namelesscoder.net>
Thu, 11 May 2017 13:36:59 +0000 (15:36 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 11 May 2017 13:48:44 +0000 (15:48 +0200)
Followup to prevent a variable reassignment which in
turn prevents overriding the controller, extension and
plugin name in f:uri.action.

Change-Id: I766e110555e03b36b93c777c63bbd629a42999fd
Resolves: #81143
Releases: master
Reviewed-on: https://review.typo3.org/52778
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/fluid/Classes/ViewHelpers/Uri/ActionViewHelper.php

index 571b2f8..4ec50d5 100644 (file)
@@ -82,10 +82,10 @@ class ActionViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelp
         $argumentsToBeExcludedFromQueryString = $arguments['argumentsToBeExcludedFromQueryString'];
         $addQueryStringMethod = $arguments['addQueryStringMethod'];
         $action = $arguments['action'];
-        $arguments = $arguments['arguments'];
         $controller = $arguments['controller'];
         $extensionName = $arguments['extensionName'];
         $pluginName = $arguments['pluginName'];
+        $arguments = $arguments['arguments'];
 
         $uri = $renderingContext->getControllerContext()->getUriBuilder()
             ->reset()