diff --git a/app/models/post.rb b/app/models/post.rb index 8d4462a1059..1e3777920f0 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -618,7 +618,7 @@ class Post < ActiveRecord::Base def advance_draft_sequence return if topic.blank? # could be deleted - DraftSequence.next!(last_editor_id, topic.draft_key) + DraftSequence.next!(last_editor_id, topic.draft_key) if last_editor_id end # TODO: move to post-analyzer?