Commit e339d0bc authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixed: Issue updated_on is not updated when a user adds a note with no edit privilege.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1758 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent dbf4438d
......@@ -184,6 +184,8 @@ class Issue < ActiveRecord::Base
@issue_before_change.status = self.status
@custom_values_before_change = {}
self.custom_values.each {|c| @custom_values_before_change.store c.custom_field_id, c.value }
# Make sure updated_on is updated when adding a note.
updated_on_will_change!
@current_journal
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment