diff --git a/lib/post_creator.rb b/lib/post_creator.rb index 8eec0bd6f4..9614a518e6 100644 --- a/lib/post_creator.rb +++ b/lib/post_creator.rb @@ -443,6 +443,7 @@ class PostCreator attrs[:word_count] = (@topic.word_count || 0) + @post.word_count attrs[:excerpt] = @post.excerpt_for_topic if new_topic? attrs[:bumped_at] = @post.created_at unless @post.no_bump + @topic.update_columns(attrs) end @topic.update_columns(attrs)