1
0
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:
czaks 2013-08-05 06:09:15 -04:00
parent a84c4510fc
commit 0d8e2a65ab

View File

@ -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'],