aboutsummaryrefslogtreecommitdiff
path: root/app/layout/nav_menu.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-06-29 20:47:38 +0200
committerGravatar GitHub <noreply@github.com> 2019-06-29 20:47:38 +0200
commitad19b6bf2ec9e2974ff8382fabbd209ae1e4eab7 (patch)
tree8f50f603cf17012db0a8e9457070ea2b5efe1be0 /app/layout/nav_menu.phtml
parent9720ab6a4d5b80784109482e4c02d1633c2d8326 (diff)
Fix wrong mark-as-read maxId argument (#2431)
Fix https://github.com/FreshRSS/FreshRSS/issues/2429
Diffstat (limited to 'app/layout/nav_menu.phtml')
-rw-r--r--app/layout/nav_menu.phtml9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml
index 4d860a54c..af7267bac 100644
--- a/app/layout/nav_menu.phtml
+++ b/app/layout/nav_menu.phtml
@@ -1,4 +1,11 @@
-<?php $actual_view = Minz_Request::actionName(); ?>
+<?php
+ $actual_view = Minz_Request::actionName();
+
+ flush();
+ if (isset($this->callbackBeforePagination)) {
+ call_user_func($this->callbackBeforePagination, $this);
+ }
+?>
<div class="nav_menu">
<?php if ($actual_view === 'normal' || $actual_view === 'reader' ) { ?>