Skip to content
Browse files

[bug 648138] Fix localized forum preview of new threads.

  • Loading branch information...
1 parent e4bc9d1 commit e35bd18ea065b3d86f49ee3ee29df08b00c89e12 James Socol committed Apr 21, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 apps/forums/views.py
View
2 apps/forums/views.py
@@ -180,6 +180,8 @@ def new_thread(request, forum_slug):
title=form.cleaned_data['title'])
post_preview = Post(thread=thread, author=request.user,
content=form.cleaned_data['content'])
+ post_preview.author_post_count = \
+ post_preview.author.post_set.count()
else:
thread = forum.thread_set.create(creator=request.user,
title=form.cleaned_data['title'])

0 comments on commit e35bd18

Please sign in to comment.
Something went wrong with that request. Please try again.