critical fix for merge 4chanapi+try_smarter: make even pages work

This commit is contained in:
czaks 2013-08-09 19:46:28 -04:00
parent 6fb2ea3b31
commit ebac98e207

View File

@ -1330,8 +1330,6 @@ function buildIndex() {
file_write($jsonFilename, $json); file_write($jsonFilename, $json);
$catalog[$page-1] = $threads; $catalog[$page-1] = $threads;
$page++;
} }
if ($page < $config['max_pages']) { if ($page < $config['max_pages']) {
for (;$page<=$config['max_pages'];$page++) { for (;$page<=$config['max_pages'];$page++) {