Project

General

Profile

Bug #82528 » BUGFIX_core_bug__forge_typo3_org_issues_82528_v11_5_39.patch

Florian Windisch, 2024-09-02 08:25

View differences:

Classes/ContentObject/RestoreRegisterContentObject.php
public function render($conf = [])
{
$frontendController = $this->getTypoScriptFrontendController();
$sysLastChangedValue = $frontendController->register['SYS_LASTCHANGED'] ?? false;
$frontendController->register = array_pop($frontendController->registerStack) ?? [];
if(false !== $sysLastChangedValue){
$frontendController->register['SYS_LASTCHANGED'] = $sysLastChangedValue;
}
return '';
}
}
(3-3/3)