diff --git a/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php b/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php index b17fb2b7672a54d3d18fc10bb083dbab19eae6f1..7b330faabb62f760b948f9ed993ddf984d0d369d 100644 --- a/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php +++ b/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php @@ -643,7 +643,9 @@ class FrontendUserAuthentication extends AbstractUserAuthentication */ public function updateOnlineTimestamp() { - if (!is_array($this->user) || !$this->user['uid'] + if (!is_array($this->user) + || !$this->user['uid'] + || $this->user['uid'] === PHP_INT_MAX // Simulated preview user (flagged with PHP_INT_MAX uid) || $this->user['is_online'] >= $GLOBALS['EXEC_TIME'] - 60) { return; }