diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-16 02:48:20 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-16 02:48:20 -0400 |
| commit | 29b10c88db1ba16210e753e1fcf08d702455a674 (patch) | |
| tree | d6527facb56c8459cb63f1cd4b921cdc051e2160 /inc/functions.php | |
| parent | 7302fc57a8f83c6fe40f9c751259d9c616ebdaec (diff) | |
Outputting thread subject in header/title (issue #122)
Diffstat (limited to 'inc/functions.php')
| -rw-r--r-- | inc/functions.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/functions.php b/inc/functions.php index 67019e0a..4b0e56d8 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1537,8 +1537,9 @@ function buildThread($id, $return=false, $mod=false) { error($config['error']['nonexistant']); $body = Element('thread.html', array( - 'board'=>$board, - 'body'=>$thread->build(), + 'board' => $board, + 'thread' => $thread, + 'body' => $thread->build(), 'config' => $config, 'id' => $id, 'mod' => $mod, |
