diff options
| author | 2023-05-15 15:21:17 +0200 | |
|---|---|---|
| committer | 2023-05-15 15:21:17 +0200 | |
| commit | c8d2ead7635e58a5c78d95a9b9a1a74e99a1bcef (patch) | |
| tree | 48a8bb16211f14a03ed242de510e8b8508b5b699 /lib | |
| parent | 360400b7230e14b4684bebb35ca9b68edf3d7e22 (diff) | |
Fix logs pagination (#5403)
* Fix logs pagination
Regression from https://github.com/FreshRSS/FreshRSS/pull/5269
* Add better default
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Minz/Paginator.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |
