diff options
| author | 2025-05-10 23:17:25 +0200 | |
|---|---|---|
| committer | 2025-05-10 23:17:25 +0200 | |
| commit | 532d229d3396817f702c1ecae79fb7f9bdad9a64 (patch) | |
| tree | 1326136f63fcaf0c7ebd0007e4bdf889183187ba /app/Models/EntryDAOSQLite.php | |
| parent | 84d4aeb9e613a70b53d87c62d07bb4c4635290c3 (diff) | |
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
Diffstat (limited to 'app/Models/EntryDAOSQLite.php')
| -rw-r--r-- | app/Models/EntryDAOSQLite.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/EntryDAOSQLite.php b/app/Models/EntryDAOSQLite.php index 99e216e53..c2470f0d6 100644 --- a/app/Models/EntryDAOSQLite.php +++ b/app/Models/EntryDAOSQLite.php @@ -155,7 +155,7 @@ SQL; public function markReadTag(int $id = 0, string $idMax = '0', ?FreshRSS_BooleanSearch $filters = null, int $state = 0, bool $is_read = true): int|false { FreshRSS_UserDAO::touch(); if ($idMax == 0) { - $idMax = time() . '000000'; + $idMax = uTimeString(); Minz_Log::debug('Calling markReadTag(0) is deprecated!'); } |
