diff options
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 3a3373ffd..a98305fef 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -1121,7 +1121,6 @@ class Issue < ActiveRecord::Base def parent_issue_id=(arg) s = arg.to_s.strip.presence if s && (m = s.match(%r{\A#?(\d+)\z})) && (@parent_issue = Issue.find_by_id(m[1])) - @parent_issue.id @invalid_parent_issue_id = nil elsif s.blank? @parent_issue = nil |