Project

General

Profile

Defect #34986 » ruby3.diff

Pavel Rosický, 2021-03-30 12:14

View differences:

app/models/issue.rb
219 219
  end
220 220

  
221 221
  def create_or_update(*args)
222
    super
222
    super()
223 223
  ensure
224 224
    @status_was = nil
225 225
  end
app/models/journal.rb
97 97
  def save(*args)
98 98
    journalize_changes
99 99
    # Do not save an empty journal
100
    (details.empty? && notes.blank?) ? false : super
100
    (details.empty? && notes.blank?) ? false : super()
101 101
  end
102 102

  
103 103
  # Returns journal details that are visible to user
    (1-1/1)