Defect #40860 » issue_priorities.diff
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 |