summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 076e654cb..56ebd9c21 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -144,7 +144,7 @@ sub get_format {
'template' => $template,
'format' => $format,
'extension' => $ctype,
- 'ctype' => Bugzilla::Constants::contenttypes->{$ctype}
+ 'ctype' => Bugzilla::Constants::contenttypes->{$ctype} // 'application/octet-stream',
};
}