Fix wrong mark-as-read maxId argument (#2431)

Fix https://github.com/FreshRSS/FreshRSS/issues/2429
This commit is contained in:
Alexandre Alapetite authored and GitHub committed 2019-06-29 20:47:38 +02:00
1 parent 9720ab6a4d
commit ad19b6bf2e
5 files changed
+9 -17

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ class FreshRSS_index_Controller extends Minz_ActionController {
}
};
$this->view->callbackBeforeEntries = function ($view) {
$this->view->callbackBeforePagination = function ($view) {
try {
FreshRSS_Context::$number++; //+1 for pagination
$entries = FreshRSS_index_Controller::listEntriesByContext();