Update issues_show_hook_listener.rb

This commit is contained in:
2016-04-27 12:17:22 -04:00
parent 8d1038ac0c
commit 63c446673f

View File

@@ -42,7 +42,7 @@ class IssuesShowHookListener < Redmine::Hook::ViewListener
if issue.vehicles_id
v = Vehicle.find_by_id(issue.vehicles_id)
vehicle = link_to v.to_s, "#{Redmine::Utils::relative_url_root }/vehicles/#{v.id}",
vin = v ? v.vin
vin = v.vin
notes = v.notes
end