From c8d2ead7635e58a5c78d95a9b9a1a74e99a1bcef Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 15 May 2023 15:21:17 +0200 Subject: Fix logs pagination (#5403) * Fix logs pagination Regression from https://github.com/FreshRSS/FreshRSS/pull/5269 * Add better default --- lib/Minz/Paginator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Minz') diff --git a/lib/Minz/Paginator.php b/lib/Minz/Paginator.php index a3e2e58f7..cf0e52440 100644 --- a/lib/Minz/Paginator.php +++ b/lib/Minz/Paginator.php @@ -49,7 +49,7 @@ class Minz_Paginator { * @param string $view nom du fichier de vue situé dans /app/views/helpers/ * @param string $getteur variable de type $_GET[] permettant de retrouver la page */ - public function render(string $view, string $getteur = '0'): void { + public function render(string $view, string $getteur = 'page'): void { $view = APP_PATH . '/views/helpers/' . $view; if (file_exists($view)) { -- cgit v1.2.3