aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/incoming_message.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb
index 81c9ade0f..6e3c043b6 100644
--- a/app/models/incoming_message.rb
+++ b/app/models/incoming_message.rb
@@ -350,8 +350,10 @@ class FOIAttachment
def name_of_content_type
if self.content_type == 'text/plain'
return "Text file"
- elsif self.content_type == 'application/vnd.ms-word' or self.content_type == 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
+ elsif self.content_type == 'application/vnd.ms-word'
return "Word document"
+ elsif self.content_type == 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
+ return "Word document - XML"
elsif self.content_type == 'application/vnd.ms-excel'
return "Excel spreadsheet"
elsif self.content_type == 'application/pdf'