Fix RecordNotFound error when removing parent issue ID
Using find_by instead of find.
This commit is contained in:
@@ -249,7 +249,7 @@ class Messenger
|
||||
end
|
||||
|
||||
when 'parent'
|
||||
issue = Issue.find detail.value
|
||||
issue = Issue.find_by id: detail.value
|
||||
value = if issue.present?
|
||||
escape = false
|
||||
"<#{object_url issue}|#{markup_format issue}>"
|
||||
|
||||
Reference in New Issue
Block a user