Browse Source

Showstopper on post edit

Ralfp 12 years ago
parent
commit
5be75580bf
1 changed files with 1 additions and 1 deletions
  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,
                                                 )