Просмотр исходного кода

Fix continuous mode (#7200)

fix https://github.com/FreshRSS/FreshRSS/issues/7199
Alexandre Alapetite 1 год назад
Родитель
Сommit
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();
 		};