From 6247f10f91f6bcccc4ffa061ed6c5b26792a3b45 Mon Sep 17 00:00:00 2001 From: SiskelDev Date: Wed, 28 May 2025 15:57:24 +0200 Subject: [PATCH] Adding More Testing --- data/script/furatalog.lib.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/script/furatalog.lib.php b/data/script/furatalog.lib.php index 4a3ecea..a8aac38 100644 --- a/data/script/furatalog.lib.php +++ b/data/script/furatalog.lib.php @@ -343,9 +343,10 @@ class furatalogLib { echo "i: " . $i . "
" . "currentPage: " . $currentpage . "
" . - "currentMaxPage: " . $currentMaxPages . "
"; + "currentMaxPage: " . $currentMaxPages . "
" . + "is the condition true?: " . ($i < $currentMaxPages && $i < ($i+3)); - if (($i-1) == 1) return; + if ($currentMaxPages == $currentpage) return; echo "" . $i . ""; } }