diff --git a/lib/post_revisor.rb b/lib/post_revisor.rb index d9647293f59..fbd9c012bf2 100644 --- a/lib/post_revisor.rb +++ b/lib/post_revisor.rb @@ -359,7 +359,7 @@ class PostRevisor end POST_TRACKED_FIELDS.each do |field| - if @fields.has_key?(field) || (should_create_new_version? && field == "edit_reason") + if @fields.has_key?(field) || (field == "edit_reason" && should_create_new_version?) @post.public_send("#{field}=", @fields[field]) end end