소스 검색

Fix continuous mode (#7200)

fix https://github.com/FreshRSS/FreshRSS/issues/7199
Alexandre Alapetite 1 년 전
부모
커밋
3280ec617f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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();
 		};