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

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

@@ -195,7 +195,7 @@ class PostingView(BaseView):
                                                 size=len(self.post.post),
                                                 change=len(self.post.post) - len(old_post),
                                                 thread_name_old=old_name if self.mode == 'edit_thread' and form.cleaned_data['thread_name'] != old_name else None,
-                                                thread_name_new=self.thread.name if form.cleaned_data['thread_name'] != old_name else None,
+                                                thread_name_new=self.thread.name if self.mode == 'edit_thread' and form.cleaned_data['thread_name'] != old_name else None,
                                                 post_content=old_post,
                                                 )