summaryrefslogtreecommitdiff
path: root/view_topic_inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'view_topic_inc.php')
-rw-r--r--view_topic_inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/view_topic_inc.php b/view_topic_inc.php
index 80bb38f..1368d94 100644
--- a/view_topic_inc.php
+++ b/view_topic_inc.php
@@ -91,7 +91,7 @@ $thread->invokeServices( 'content_display_function', $displayHash );
$thread->readTopic();
$gBitSmarty->assignByRef( 'thread', $thread );
-$gBitSmarty->assign('topic_locked',$thread->isLocked());
+$gBitSmarty->assign( 'topic_locked', BitBoardTopic::isLocked( $thread->mCommentContentId ) );
// Get the thread of comments