Skip to content

Commit

Permalink
[BUGFIX] Missing rootline in BE ConditionMatcher if page id is determ…
Browse files Browse the repository at this point in the history
…ined

Resolves: #96308
Releases: main, 11.5, 10.4
Change-Id: Ibcbda7fd97a338d721cf00b38026727e941c72ac
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72681
Tested-by: core-ci <typo3@b13.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
  • Loading branch information
Mabahe authored and lolli42 committed Dec 15, 2021
1 parent f70fa2c commit 476fef3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function __construct(Context $context = null, int $pageId = null, array $
$this->context = $context ?? GeneralUtility::makeInstance(Context::class);
$this->pageId = $pageId ?? $this->determinePageId();
if ($rootLine === null) {
$rootLine = BackendUtility::BEgetRootLine($pageId, '', true);
$rootLine = BackendUtility::BEgetRootLine($this->pageId, '', true);
ksort($rootLine);
}
$this->rootline = $rootLine;
Expand Down

0 comments on commit 476fef3

Please sign in to comment.