summaryrefslogtreecommitdiffstats
path: root/report.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'report.cgi')
-rwxr-xr-xreport.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/report.cgi b/report.cgi
index c84ed6208..fd2f28943 100755
--- a/report.cgi
+++ b/report.cgi
@@ -328,6 +328,8 @@ if ($cgi->param('debug')) {
# All formats point to the same section of the documentation.
$vars->{'doc_section'} = 'reporting.html#reports';
+disable_utf8() if ($format->{'ctype'} =~ /^image\//);
+
$template->process("$format->{'template'}", $vars)
|| ThrowTemplateError($template->error());