Project

General

Profile

Feature #34992 » 0002-Ruby-3.0-fix-super-calls.patch

Marius BĂLTEANU, 2021-04-03 08:42

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
(2-2/3)