]> source.dussan.org Git - redmine.git/commitdiff
add empty line after guard clause to app/models/issue_relation.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 26 Nov 2020 14:46:44 +0000 (14:46 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 26 Nov 2020 14:46:44 +0000 (14:46 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20501 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/issue_relation.rb

index d0a66ba40ae7963c2715af02fa65482ef61d4838..808686a162d2491518e309e6b049f46812dc8c8e 100644 (file)
@@ -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