aboutsummaryrefslogtreecommitdiffstats
path: root/report.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-25 21:02:39 +0000
committerlpsolit%gmail.com <>2005-08-25 21:02:39 +0000
commit2a5664ad1abf679b9e50a6c409902ce2ef638cc5 (patch)
tree96de597ded0b88bd26e51f75e86a7d66c4305b7f /report.cgi
parentf1f97d1ce4e9d90680aca0adc97e7b5f97c6cc25 (diff)
downloadbugs-2a5664ad1abf679b9e50a6c409902ce2ef638cc5.tar
bugs-2a5664ad1abf679b9e50a6c409902ce2ef638cc5.tar.gz
bugs-2a5664ad1abf679b9e50a6c409902ce2ef638cc5.tar.bz2
bugs-2a5664ad1abf679b9e50a6c409902ce2ef638cc5.tar.xz
bugs-2a5664ad1abf679b9e50a6c409902ce2ef638cc5.zip
Bug 208761: Move GetFormat() from globals.pl into Bugzilla::Template - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=justdave
Diffstat (limited to 'report.cgi')
-rwxr-xr-xreport.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/report.cgi b/report.cgi
index 6effd485e..f9a56588f 100755
--- a/report.cgi
+++ b/report.cgi
@@ -293,7 +293,8 @@ else {
ThrowUserError("unknown_action", {action => $cgi->param('action')});
}
-my $format = GetFormat("reports/report", $formatparam, scalar($cgi->param('ctype')));
+my $format = $template->get_format("reports/report", $formatparam,
+ scalar($cgi->param('ctype')));
# If we get a template or CGI error, it comes out as HTML, which isn't valid
# PNG data, and the browser just displays a "corrupt PNG" message. So, you can