diff options
| author | czaks <marcin@6irc.net> | 2013-08-16 10:17:13 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-08-16 10:17:13 -0400 |
| commit | e0b729f803394a3fa3b88d52bed0e7cac1447eb9 (patch) | |
| tree | 1c7ccd1db3c8213a1fa283d47590360d6dc2a4d4 /search.php | |
| parent | b0312d4d36fa0e231e7d81bf62e6ddc3bc4f36c1 (diff) | |
fix search.php for new new Post and new Thread syntax
Diffstat (limited to 'search.php')
| -rw-r--r-- | search.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -140,9 +140,9 @@ $temp = ''; while($post = $query->fetch()) { if(!$post['thread']) { - $po = new Thread($post['id'], $post['subject'], $post['email'], $post['name'], $post['trip'], $post['capcode'], $post['body'], $post['time'], $post['thumb'], $post['thumbwidth'], $post['thumbheight'], $post['file'], $post['filewidth'], $post['fileheight'], $post['filesize'], $post['filename'], $post['ip'], $post['sticky'], $post['locked'], $post['sage'], $post['embed']); + $po = new Thread($post); } else { - $po = new Post($post['id'], $post['thread'], $post['subject'], $post['email'], $post['name'], $post['trip'], $post['capcode'], $post['body'], $post['time'], $post['thumb'], $post['thumbwidth'], $post['thumbheight'], $post['file'], $post['filewidth'], $post['fileheight'], $post['filesize'], $post['filename'], $post['ip'], $post['embed']); + $po = new Post($post); } $temp .= $po->build(true) . '<hr/>'; } |
