mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-02-13 01:03:59 -05:00
force a tracker if still nil
This commit is contained in:
@@ -26,6 +26,7 @@ module RedmineQbo
|
||||
|
||||
if context[:issue].tracker.nil?
|
||||
context[:issue].tracker = trackers_for_select(context[:issue]).first
|
||||
context[:issue].tracker = Tracker.first if context[:issue].tracker.nil?
|
||||
context[:controller].flash[:error] = I18n.t(:notice_error_tracker_nil) + context[:issue].tracker.to_s
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user