diff --git a/src/Module/Update/Display.php b/src/Module/Update/Display.php index 4b84cba7a..9f149d7dc 100644 --- a/src/Module/Update/Display.php +++ b/src/Module/Update/Display.php @@ -59,9 +59,9 @@ class Display extends DisplayModule $parentUriId = $item['parent-uri-id']; if (empty($force)) { - $browserUpdate = $this->pConfig->get($profileUid, 'system', 'update_interval'); - if (!empty($browserUpdate)) { - $updateDate = date(DateTimeFormat::MYSQL, time() - (intval($browserUpdate) / 500)); + $browserUpdate = intval($this->pConfig->get($profileUid, 'system', 'update_interval') ?? 40000); + if ($browserUpdate >= 1000) { + $updateDate = date(DateTimeFormat::MYSQL, time() - ($browserUpdate * 2 / 1000)); if (!Post::exists([ "`parent-uri-id` = ? AND `uid` IN (?, ?) AND `received` > ?", $parentUriId, 0,