Просмотр исходного кода

I forgot about the subforums in the commit before

sh4nks 11 лет назад
Родитель
Сommit
502048e2eb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      flaskbb/templates/forum/forum.html

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

@@ -43,7 +43,7 @@
         <tr>
             <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>
             {% else %}
                 <span class="fa fa-comments-o" style="font-size: 2em"></span>