diff options
-rw-r--r-- | app/models/incoming_message.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index 868bec910..a2d65a9ac 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -709,7 +709,9 @@ class IncomingMessage < ActiveRecord::Base text = '' attachments = self.get_attachments_for_display for attachment in attachments - text += MailHandler.get_attachment_text_one_file(attachment.content_type, attachment.body, attachment.charset) + text += MailHandler.get_attachment_text_one_file(attachment.content_type, + attachment.body, + attachment.charset) end # Remove any bad characters text = Iconv.conv('utf-8//IGNORE', 'utf-8', text) |