diff --git a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php index cc417874088a176a94ea10cbf6963935e53befed..c261fd3d441872d7aebe7dfa6c57e5bb99cf6e02 100644 --- a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php +++ b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php @@ -2417,7 +2417,7 @@ class TypoScriptFrontendController implements LoggerAwareInterface protected function setSysLastChanged() { // We only update the info if browsing the live workspace - if ($this->page['SYS_LASTCHANGED'] < (int)$this->register['SYS_LASTCHANGED'] && !$this->doWorkspacePreview()) { + if ($this->page['SYS_LASTCHANGED'] < (int)($this->register['SYS_LASTCHANGED'] ?? 0) && !$this->doWorkspacePreview()) { $connection = GeneralUtility::makeInstance(ConnectionPool::class) ->getConnectionForTable('pages'); $pageId = $this->page['_PAGES_OVERLAY_UID'] ?? $this->id;