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
|
@ -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 New Issue