diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-04 14:44:06 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-04 14:44:06 +0000 |
commit | 2da1ecb1d857c7ee35d4a0739cbf66c7c8167512 (patch) | |
tree | b35f00b664ccef1810e1e815ba778894af7aadb2 /app | |
parent | fa94dc944dccee3560f8de6012206c2ffce150a5 (diff) | |
download | redmine-2da1ecb1d857c7ee35d4a0739cbf66c7c8167512.tar.gz redmine-2da1ecb1d857c7ee35d4a0739cbf66c7c8167512.zip |
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
Diffstat (limited to 'app')
-rw-r--r-- | app/models/wiki_page.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb index 4fc4d4706..9ac19971f 100644 --- a/app/models/wiki_page.rb +++ b/app/models/wiki_page.rb @@ -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. |