Skip to content

Node.js based forum software built for the modern web

fixed template var, oops

Baris Soner Usakli2d05a06e374b
diff --git a/public/templates/topic.tpl b/public/templates/topic.tpl
index 5c9e348eef..64ad635ab9 100644
--- a/public/templates/topic.tpl
+++ b/public/templates/topic.tpl
@@ -83,8 +83,8 @@
</div>
<div class="btn-group post-tools">
- <button class="btn btn-sm btn-default edit {main_posts.display_moderator_tools}" type="button" title="[[topic:edit]]"><i class="fa fa-pencil"></i></button>
- <button class="btn btn-sm btn-default delete {main_posts.display_moderator_tools}" type="button" title="[[topic:delete]]"><i class="fa fa-trash-o"></i></button>
+ <button class="btn btn-sm btn-default edit {posts.display_moderator_tools}" type="button" title="[[topic:edit]]"><i class="fa fa-pencil"></i></button>
+ <button class="btn btn-sm btn-default delete {posts.display_moderator_tools}" type="button" title="[[topic:delete]]"><i class="fa fa-trash-o"></i></button>
</div>
</div>