mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-19 20:23:17 +01:00
critical fix for merge 4chanapi+try_smarter: make even pages work
This commit is contained in:
parent
348f702255
commit
fe215612ce
@ -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…
x
Reference in New Issue
Block a user