From 532d229d3396817f702c1ecae79fb7f9bdad9a64 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 10 May 2025 23:17:25 +0200 Subject: Fix newest articles not shown (#7577) * Fix newest articles not shown Case when processing was faster than 1 second. fix https://github.com/FreshRSS/FreshRSS/issues/7412 Regression from https://github.com/FreshRSS/FreshRSS/pull/7149 * Simplify uTimeString() PHPStan has become a bit smarter --- app/Controllers/indexController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controllers/indexController.php') diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php index 1d355ca84..1f49e03ee 100644 --- a/app/Controllers/indexController.php +++ b/app/Controllers/indexController.php @@ -63,7 +63,7 @@ class FreshRSS_index_Controller extends FreshRSS_ActionController { FreshRSS_View::prependTitle($title . ' ยท '); if (FreshRSS_Context::$id_max === '0') { - FreshRSS_Context::$id_max = time() . '000000'; + FreshRSS_Context::$id_max = uTimeString(); } $this->view->callbackBeforeFeeds = static function (FreshRSS_View $view) { -- cgit v1.2.3