This commit is contained in:
parent
d2f4b38eb6
commit
ed7dac6126
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue