From ebac98e207290d5beddb0af6c8b259e15e9da361 Mon Sep 17 00:00:00 2001 From: czaks Date: Fri, 9 Aug 2013 19:46:28 -0400 Subject: [PATCH] critical fix for merge 4chanapi+try_smarter: make even pages work --- inc/functions.php | 2 -- 1 file changed, 2 deletions(-) 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++) {