Browse Source

Fix continuous mode (#7200)

fix https://github.com/FreshRSS/FreshRSS/issues/7199
Alexandre Alapetite 1 year ago
parent
commit
3280ec617f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Controllers/indexController.php

+ 2 - 0
app/Controllers/indexController.php

@@ -90,6 +90,8 @@ class FreshRSS_index_Controller extends FreshRSS_ActionController {
 				//We have enough entries: we discard the last one to use it for the next articles' page
 				ob_clean();
 				FreshRSS_Context::$continuation_id = $lastEntry->id();
+			} else {
+				FreshRSS_Context::$continuation_id = '0';
 			}
 			ob_end_flush();
 		};