Browse Source

Fix yankput error

Alec Nikolas Reiter 7 years ago
parent
commit
feb6877d9b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      flaskbb/templates/forum/topic.html

+ 1 - 1
flaskbb/templates/forum/topic.html

@@ -93,7 +93,7 @@
                             {% if post.hidden %}
                             <div class="alert alert-warning">
                                 <span class="fa fa-user-secret"></span>
-                                {{ gettext("This post is hidden (%(when)s  by %(who)s)", who=topic.hidden_by.username, when=format_date(topic.hidden_at, '%b %d %Y'))}}
+                                {{ gettext("This post is hidden (%(when)s  by %(who)s)", who=post.hidden_by.username, when=format_date(post.hidden_at, '%b %d %Y'))}}
                             </div>
                             {% endif %}
                         {{ post.content|markup }}