#22710tslib_fe::getPagesTSconfig wrong order of rootline TS
Description
If you set some pageTSConfig on a higher level page in the rootline and overwrite that value in a lower level page the value from the HIGHER level will be delivered by tslib_fe::getPagesTSconfig if you call that method on the lower-level page.
Correct would be to deliver the value from the lower level page. This is done perfectly in the corresponding method t3lib_befunc::getPagesTSconfig for the BE.
The little difference: t3lib_befunc::getPagesTSconfig has the additional line 1334: ksort($rootLine); // Order correctly
which re-sorts the rootline. This line has to be inserted into tslib_fe::getPagesTSconfig also as line 4440 somethin like:
$rootLine=$this->rootLine;
ksort($rootLine);
//while(list($k,$v)=each($this->rootLine)) {
while(list($k,$v)=each($rootLine)) {
(issue imported from #M14471)