mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-27 17:00:52 +01:00
fix api issue
This commit is contained in:
parent
a84c4510fc
commit
0d8e2a65ab
@ -1045,6 +1045,8 @@ function index($page, $mod=false) {
|
||||
if ($query->rowCount() < 1 && $page > 1)
|
||||
return false;
|
||||
|
||||
$threads = array();
|
||||
|
||||
while ($th = $query->fetch(PDO::FETCH_ASSOC)) {
|
||||
$thread = new Thread(
|
||||
$th['id'], $th['subject'], $th['email'], $th['name'], $th['trip'], $th['capcode'], $th['body'], $th['time'], $th['thumb'],
|
||||
|
Loading…
Reference in New Issue
Block a user