diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/incoming_message.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index d0428fc81..42c80cef0 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -936,10 +936,10 @@ class IncomingMessage < ActiveRecord::Base # Returns all attachments for use in display code # XXX is this called multiple times and should be cached? def get_attachments_for_display - ensure_parts_counted - main_part = get_main_body_text_part leaves = get_attachment_leaves + ensure_parts_counted + attachments = [] for leaf in leaves if leaf != main_part |