diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-26 14:46:44 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-26 14:46:44 +0000 |
commit | 6f621ff7a5264d7c7a617b1101229b2ee59edf6b (patch) | |
tree | 322741a8a9c01a3a4c86aed4f81e84ef1cadaa61 /app/models/issue_relation.rb | |
parent | 4a19d043c1e9a0e5b56a5709cbf20e6ac0ae495b (diff) | |
download | redmine-6f621ff7a5264d7c7a617b1101229b2ee59edf6b.tar.gz redmine-6f621ff7a5264d7c7a617b1101229b2ee59edf6b.zip |
add empty line after guard clause to app/models/issue_relation.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20501 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue_relation.rb')
-rw-r--r-- | app/models/issue_relation.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/issue_relation.rb b/app/models/issue_relation.rb index d0a66ba40..808686a16 100644 --- a/app/models/issue_relation.rb +++ b/app/models/issue_relation.rb @@ -87,10 +87,9 @@ class IssueRelation < 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 + attrs = attrs.deep_dup if issue_id = attrs.delete('issue_to_id') if issue_id.to_s.strip.match(/\A#?(\d+)\z/) issue_id = $1.to_i |