added tracker nil check

This commit is contained in:
ricky committed 2026-02-09 14:19:31 -05:00
1 parent 502ba94465
commit df49964bf9
2 files changed
+7 -1

No files matched your search

@@ -24,6 +24,11 @@ module RedmineQbo
context[:controller].flash[:error] = I18n.t(:notice_error_project_nil) + context[:issue].project.to_s
end
if context[:issue].tracker.nil?
context[:issue].tracker = trackers_for_select(context[:issue]).first
context[:controller].flash[:error] = I18n.t(:notice_error_tracker_nil) + context[:issue].tracker.to_s
end
return context
end