mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Merge pull request #4078 from angusmcleod/bugfix/topic#40939-2
Advance draft sequence in PostRevisor if edit contains no changes
This commit is contained in:
commit
177294f930
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ class PostRevisor
|
|||
POST_TRACKED_FIELDS.each do |field|
|
||||
return true if @fields.has_key?(field) && @fields[field] != @post.send(field)
|
||||
end
|
||||
advance_draft_sequence
|
||||
false
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue