Bug Fix (i was not $i)

This commit is contained in:
2025-05-28 15:48:17 +02:00
parent a2d46af8d8
commit 1a77ef6ecb
+1 -1
View File
@@ -325,7 +325,7 @@ class furatalogLib {
$currentpage = (isset($_GET["p"]) ? $_GET["p"] : 1);
$currentMaxPages = $this->maxpages;
for ($i = $currentpage-1; i > 0; $i--) {
for ($i = $currentpage-1; $i > 0; $i--) {
if (($i+1) == 1) return;
echo "<a class=\"number\">" . $i . "</a>";
}