From 1dba8f3eb8670da875819560d3fdd29a63007d1c Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 29 May 2023 18:49:50 +0200 Subject: [PATCH] $suffix --- core/class/helper.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/class/helper.class.php b/core/class/helper.class.php index a2ade945..0c3d5485 100644 --- a/core/class/helper.class.php +++ b/core/class/helper.class.php @@ -574,7 +574,7 @@ class helper * @param null|int $sufix Suffixe de l'url * @return array */ - public static function pagination($array, $url, $item, $sufix = null) + public static function pagination($array, $url, $item, $suffix = null) { // Scinde l'url $url = explode('/', $url); @@ -598,7 +598,7 @@ class helper if ($nbPage > 1) { for ($i = 1; $i <= $nbPage; $i++) { $disabled = ($i === $currentPage) ? ' class="disabled"' : false; - $pages .= '' . $i . ''; + $pages .= '' . $i . ''; } $pages = ''; }