diff options
author | lpsolit%gmail.com <> | 2009-01-15 02:13:50 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-01-15 02:13:50 +0100 |
commit | ee5cbb72fe58f9fa8c5fad39da67fc078496db94 (patch) | |
tree | 00ffbd17af80a5271becf78a95bf0148f9f46394 /report.cgi | |
parent | 8f824bbf135b789c37cae6d6b40df029293b7d78 (diff) | |
download | bugzilla-ee5cbb72fe58f9fa8c5fad39da67fc078496db94.tar.gz bugzilla-ee5cbb72fe58f9fa8c5fad39da67fc078496db94.tar.xz |
Bug 464992: Binary attachments, graphical reports and new charts are not displayed correctly on Windows - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'report.cgi')
-rwxr-xr-x | report.cgi | 2 |
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()); |