mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-23 23:20:57 +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)
|
if ($query->rowCount() < 1 && $page > 1)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
$threads = array();
|
||||||
|
|
||||||
while ($th = $query->fetch(PDO::FETCH_ASSOC)) {
|
while ($th = $query->fetch(PDO::FETCH_ASSOC)) {
|
||||||
$thread = new Thread(
|
$thread = new Thread(
|
||||||
$th['id'], $th['subject'], $th['email'], $th['name'], $th['trip'], $th['capcode'], $th['body'], $th['time'], $th['thumb'],
|
$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