Defect #21742 » mail_handler.rb.patch
| mail_handler.rb (working copy) | ||
|---|---|---|
| 287 | 287 | email.attachments.each do |attachment| | 
| 288 | 288 | next unless accept_attachment?(attachment) | 
| 289 | 289 | obj.attachments << Attachment.create(:container => obj, | 
| 290 | :file => attachment.decoded, | |
| 290 |                           :file => attachment.body.decoded, | |
| 291 | 291 | :filename => attachment.filename, | 
| 292 | 292 | :author => user, | 
| 293 | 293 | :content_type => attachment.mime_type) |