[BUGFIX] Correct variable usage in f:uri.action 38/61438/2
authorGeorg Ringer <georg.ringer@gmail.com>
Sun, 4 Aug 2019 18:32:04 +0000 (20:32 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 5 Aug 2019 08:11:19 +0000 (10:11 +0200)
Use the correct variables in f:uri.action which have been switched
with #87629.

Resolves: #88915
Releases: master
Change-Id: Icbdc3c7319bf2459a8eed2ca79961204e6d6153c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61438
Tested-by: Alexander Schnitzler <review.typo3.org@alexanderschnitzler.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Josef Glatz <josefglatz@gmail.com>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Alexander Schnitzler <review.typo3.org@alexanderschnitzler.de>
Reviewed-by: Josef Glatz <josefglatz@gmail.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/fluid/Classes/ViewHelpers/Uri/ActionViewHelper.php

index b3fc9b4..67fb1e0 100644 (file)
@@ -111,11 +111,11 @@ class ActionViewHelper extends AbstractViewHelper
         $uriBuilder->reset();
 
         if ($pageUid > 0) {
-            $uriBuilder->setTargetPageType($pageUid);
+            $uriBuilder->setTargetPageUid($pageUid);
         }
 
         if ($pageType > 0) {
-            $uriBuilder->setTargetPageUid($pageType);
+            $uriBuilder->setTargetPageType($pageType);
         }
 
         if ($noCache === true) {