diff --git a/app/views/index/logs.phtml b/app/views/index/logs.phtml index 42be022d6..896a19765 100644 --- a/app/views/index/logs.phtml +++ b/app/views/index/logs.phtml @@ -14,7 +14,7 @@ ?> - logsPaginator->render('logs_pagination.phtml'); ?> + logsPaginator->render('logs_pagination.phtml', 'page'); ?>
@@ -41,7 +41,7 @@
- logsPaginator->render('logs_pagination.phtml'); ?> + logsPaginator->render('logs_pagination.phtml', 'page'); ?> 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)) {