Rafał Pitoń 10 years ago
parent
commit
2cdd6ca796
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/readtracker/threadstracker.py

+ 1 - 1
misago/readtracker/threadstracker.py

@@ -118,7 +118,7 @@ def make_thread_read_aware(user, thread):
             if thread.last_post_on > forum_record.last_read_on:
                 try:
                     thread_record = user.threadread_set.get(thread=thread)
-                    thread.last_read_on = record.last_read_on
+                    thread.last_read_on = thread_record.last_read_on
                     thread.is_new = False
                     if thread.last_post_on <= thread_record.last_read_on:
                         thread.is_read = True