Fix for root pages

This commit is contained in:
Sven Wappler 2017-12-24 00:28:36 +01:00
parent 6da8beb30b
commit df4c021cc7

View file

@ -96,8 +96,6 @@ class Helper
$tsFeController->page['content_from_pid'] = $targetPageId;
}
//$pObj->page['no_cache'] = true;
$_GET['abtest'] = $cookieValue;
$this->makeCacheHash($tsFeController);
@ -131,6 +129,11 @@ class Helper
{
$GET = GeneralUtility::_GET();
/* Fix for root pages */
if (!isset($GET['id'])) {
$GET['id'] = $tsFeController->id;
}
/** @var CacheHashCalculator $cacheHash */
$cacheHash = GeneralUtility::makeInstance(CacheHashCalculator::class);