Browse Source

Dont bump replies count on thread start.

Rafał Pitoń 10 years ago
parent
commit
c4302ebbd7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/threads/posting/updatestats.py

+ 1 - 1
misago/threads/posting/updatestats.py

@@ -25,7 +25,7 @@ class UpdateStatsMiddleware(PostingMiddleware):
         if self.mode != EDIT:
             self.thread.set_last_post(self.post)
 
-        if self.mode != REPLY:
+        if self.mode == REPLY:
             self.thread.replies += F('replies') + 1
 
         self.thread.save_model = True