[BUGFIX] Use correct argument name in PageViewHelper 19/54719/2
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 22 Nov 2017 06:55:12 +0000 (07:55 +0100)
committerBenni Mack <benni@typo3.org>
Wed, 22 Nov 2017 07:13:10 +0000 (08:13 +0100)
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

index 6997b90..5a17a0e 100644 (file)
@@ -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'];