mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 11:37:14 +00:00
Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20912 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b89cb894eb
commit
83e22515b9
@ -219,7 +219,7 @@ class Issue < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def create_or_update(*args)
|
||||
super
|
||||
super()
|
||||
ensure
|
||||
@status_was = nil
|
||||
end
|
||||
|
||||
@ -97,7 +97,7 @@ class Journal < ActiveRecord::Base
|
||||
def save(*args)
|
||||
journalize_changes
|
||||
# Do not save an empty journal
|
||||
(details.empty? && notes.blank?) ? false : super
|
||||
(details.empty? && notes.blank?) ? false : super()
|
||||
end
|
||||
|
||||
# Returns journal details that are visible to user
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user