Browse Source

Fixed forum read/unread check

sh4nks 10 years ago
parent
commit
aea9f266ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      flaskbb/utils/helpers.py

+ 1 - 1
flaskbb/utils/helpers.py

@@ -158,7 +158,7 @@ def forum_is_unread(forum, forumsread, user):
         return forum.last_post.date_created > read_cutoff
 
     try:
-        return forumsread.cleared > forum.last_post.date_created
+        return forumsread.cleared < forum.last_post.date_created
     except TypeError:
         return forumsread.last_read < forum.last_post.date_created