Project

General

Profile

Defect #40860 » issue_priorities.diff

Holger Just, 2024-06-19 18:17

View differences:

app/models/issue.rb
2077 2077
      tracker.disabled_core_fields.each do |attribute|
2078 2078
        send :"#{attribute}=", nil
2079 2079
      end
2080
      self.priority_id ||= IssuePriority.default&.id || IssuePriority.active.first.id
2080
      self.priority_id ||= IssuePriority.default&.id || IssuePriority.active.first&.id
2081 2081
      self.done_ratio ||= 0
2082 2082
    end
2083 2083
  end
(1-1/2)