critical fix for merge 4chanapi+try_smarter: make even pages work
This commit is contained in:
parent
6fb2ea3b31
commit
ebac98e207
@ -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++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user