[#123] Attachment changes need to be prefixed
This commit is contained in:
parent
b1ed5e4c7d
commit
1f8828838e
|
@ -353,7 +353,7 @@ class Issue < ActiveRecord::Base
|
|||
def attachment_removed(obj)
|
||||
init_journal(User.current)
|
||||
create_journal
|
||||
last_journal.update_attribute(:changes, {obj.id => [obj.filename, nil]}.to_yaml)
|
||||
last_journal.update_attribute(:changes, {"attachments_" + obj.id.to_s => [obj.filename, nil]}.to_yaml)
|
||||
end
|
||||
|
||||
# Return true if the issue is closed, otherwise false
|
||||
|
|
Loading…
Reference in New Issue