Browse Source

Small template fix

sh4nks 11 years ago
parent
commit
65b85ab30a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      flaskbb/templates/forum/topic.html

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

@@ -154,7 +154,7 @@
                 </span>
                 </span>
 
 
                 <span class="pull-right">
                 <span class="pull-right">
-                    {% if current_user.is_authenticated %}
+                    {% if current_user.is_authenticated() %}
                     <a href="{{ url_for('forum.report_post', post_id=post.id) }}" onclick="window.open(this.href, 'wio_window','width=500,height=500'); return false;">
                     <a href="{{ url_for('forum.report_post', post_id=post.id) }}" onclick="window.open(this.href, 'wio_window','width=500,height=500'); return false;">
                         Report
                         Report
                     </a> |
                     </a> |