diff options
| author | czaks <marcin@6irc.net> | 2013-08-05 06:09:15 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-08-05 06:09:15 -0400 |
| commit | 0d8e2a65ab6ab719bc5dec5d7ddcab45342d882c (patch) | |
| tree | f8cfa8ad36b84085e73902534f4e2756032016fb /inc | |
| parent | a84c4510fccfdc0cfb6f187633daea10dc70f326 (diff) | |
fix api issue
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/functions.php b/inc/functions.php index 2e487eed..7ed131d5 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -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'], |
