This commit is contained in:
sw 2014-10-23 14:21:33 +08:00
parent d2f4b38eb6
commit ed7dac6126
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ module Redmine
set_attachment_public(a) if a set_attachment_public(a) if a
next unless a next unless a
a.description = attachment['description'].to_s.strip a.description = attachment['description'].to_s.strip
a.attachtype = @curattachment_type; a.attachtype = @curattachment_type
if a.new_record? if a.new_record?
unsaved_attachments << a unsaved_attachments << a
else else