From c9ee0f52c8f4ee97524a39597c357b156861e9e5 Mon Sep 17 00:00:00 2001
From: Georg Ringer <georg.ringer@gmail.com>
Date: Wed, 22 Nov 2017 07:55:12 +0100
Subject: [PATCH] [BUGFIX] Use correct argument name in PageViewHelper

Fix a variable name which has been changed with the latest
refactoring to make it possible again to set links without
a cHash.

Resolves: #83063
Releases: master
Change-Id: I684d42f85a94179f19dabef5df47f09ce6b34df8
Reviewed-on: https://review.typo3.org/54719
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
---
 typo3/sysext/fluid/Classes/ViewHelpers/Link/PageViewHelper.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/fluid/Classes/ViewHelpers/Link/PageViewHelper.php b/typo3/sysext/fluid/Classes/ViewHelpers/Link/PageViewHelper.php
index 6997b9029d8e..5a17a0e51cc9 100644
--- a/typo3/sysext/fluid/Classes/ViewHelpers/Link/PageViewHelper.php
+++ b/typo3/sysext/fluid/Classes/ViewHelpers/Link/PageViewHelper.php
@@ -80,7 +80,7 @@ class PageViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedVi
         $pageUid = (int)$this->arguments['pageUid'] ?: null;
         $pageType = (int)$this->arguments['pageType'];
         $noCache = (bool)$this->arguments['noCache'];
-        $noCacheHash = (bool)$this->arguments['useCacheHash'];
+        $noCacheHash = (bool)$this->arguments['noCacheHash'];
         $section = (string)$this->arguments['section'];
         $linkAccessRestrictedPages = (bool)$this->arguments['linkAccessRestrictedPages'];
         $additionalParams = (array)$this->arguments['additionalParams'];
-- 
GitLab