diff --git a/e107_plugins/forum/forum_viewtopic.php b/e107_plugins/forum/forum_viewtopic.php index 7e732f6cf..e84ca11ca 100644 --- a/e107_plugins/forum/forum_viewtopic.php +++ b/e107_plugins/forum/forum_viewtopic.php @@ -289,10 +289,13 @@ $sc->setScVar('thisIsTheLastPost', false); foreach ($postList as $c => $postInfo) { - if($postInfo['post_options']) + $postInfo['thread_active'] = $thread->threadInfo['thread_active']; + + if(!empty($postInfo['post_options'])) { $postInfo['post_options'] = unserialize($postInfo['post_options']); } + $loop_uid = (int)$postInfo['post_user']; $lastPostDetectionCounter--; @@ -431,7 +434,7 @@ function showmodoptions() $ret .= "
" . IMAGE_admin_edit . " - + "; if ($type == 'Thread')