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