1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 01:11:12 +00:00

add empty line after guard clause to app/models/wiki_page.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20250 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-11-04 14:44:06 +00:00
parent fa94dc944d
commit 2da1ecb1d8

View File

@ -90,8 +90,8 @@ class WikiPage < ActiveRecord::Base
if attrs.respond_to?(:to_unsafe_hash)
attrs = attrs.to_unsafe_hash
end
return unless attrs.is_a?(Hash)
attrs = attrs.deep_dup
# Project and Tracker must be set before since new_statuses_allowed_to depends on it.