diff --git a/inc/functions.php b/inc/functions.php index 7ed131d5..5bf1f999 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1330,8 +1330,6 @@ function buildIndex() { file_write($jsonFilename, $json); $catalog[$page-1] = $threads; - - $page++; } if ($page < $config['max_pages']) { for (;$page<=$config['max_pages'];$page++) {