Ralfp 12 лет назад
Родитель
Сommit
2fd4ee8b4d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      misago/threads/views/posting.py

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

@@ -293,7 +293,7 @@ class PostingView(BaseView):
                         self.request.monitor['posts'] = int(self.request.monitor['posts']) + 1
                         self.forum.posts += 1
 
-                    if self.mode not in ['edit_thread', 'edit_post']
+                    if self.mode not in ['edit_thread', 'edit_post']:
                         self.forum.last_thread = thread
                         self.forum.last_thread_name = thread.name
                         self.forum.last_thread_slug = thread.slug