From d29799712f87de6032877cfdbc720cd8852cdacd Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 13 Jul 2014 00:04:23 +0000 Subject: [PATCH] remove unneeded statement from Issue#parent_issue_id= git-svn-id: http://svn.redmine.org/redmine/trunk@13303 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/issue.rb | 1 - 1 file changed, 1 deletion(-) 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 -- 2.39.5