Commit 5d2c7861 authored by Benni Mack's avatar Benni Mack Committed by Christian Kuhn
Browse files

[TASK] Remove all $GLOBALS['rootline'] usages

The getRootline() method of ExtendedTemplateService is broken
because of an incomplete replacement of the web_ts changes.


The fix replaces the rootline variable in the last occurence
by the correct replacement.

Related: #78675
Resolves: #76545
Releases: master
Change-Id: Ib554679fd86230e183801e9b234a8138d4518cd3

Tested-by: default avatarTYPO3com <>
Reviewed-by: default avatarStefan Neufeind <>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <>
Tested-by: Wouter Wolters's avatarWouter Wolters <>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <>
Tested-by: Christian Kuhn's avatarChristian Kuhn <>
parent d1bf1a06
......@@ -1632,11 +1632,13 @@ class ExtendedTemplateService extends TemplateService
* Is set by runThroughTemplates(), previously set via TemplateAnalyzerModuleFunctionController from the outside
* @return array
protected function getRootLine()
return isset($GLOBALS['rootLine']) ? $GLOBALS['rootLine'] : [];
return is_array($this->absoluteRootLine) ? $this->absoluteRootLine : [];
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment