Explorar o código

Fix continuous mode (#7200)

fix https://github.com/FreshRSS/FreshRSS/issues/7199
Alexandre Alapetite hai 1 ano
pai
achega
3280ec617f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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
 				//We have enough entries: we discard the last one to use it for the next articles' page
 				ob_clean();
 				ob_clean();
 				FreshRSS_Context::$continuation_id = $lastEntry->id();
 				FreshRSS_Context::$continuation_id = $lastEntry->id();
+			} else {
+				FreshRSS_Context::$continuation_id = '0';
 			}
 			}
 			ob_end_flush();
 			ob_end_flush();
 		};
 		};