Browse Source

I forgot about the subforums in the commit before

sh4nks 11 years ago
parent
commit
502048e2eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      flaskbb/templates/forum/forum.html

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

@@ -43,7 +43,7 @@
         <tr>
         <tr>
             <td align="center" valign="center" width="4%">
             <td align="center" valign="center" width="4%">
 
 
-            {% if forumread|is_unread(subforum.last_post) %}
+            {% if forumread|is_unread(subforum.last_post, subforum) %}
                 <span class="fa fa-comments" style="font-size: 2em"></span>
                 <span class="fa fa-comments" style="font-size: 2em"></span>
             {% else %}
             {% else %}
                 <span class="fa fa-comments-o" style="font-size: 2em"></span>
                 <span class="fa fa-comments-o" style="font-size: 2em"></span>