Project

General

Profile

Bug #82528 » BUGFIX_core_bug__forge_typo3_org_issues_82528.patch

Oliver Pfaff, 2024-03-15 15:19

View differences:

Classes/ContentObject/RestoreRegisterContentObject.php (revision ee609e6d77753d4ae8ad0651ffc385b16294146b) → Classes/ContentObject/RestoreRegisterContentObject.php (date 1710515469674)
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 '';
}
}
(2-2/3)