From 2a5664ad1abf679b9e50a6c409902ce2ef638cc5 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 25 Aug 2005 21:02:39 +0000 Subject: Bug 208761: Move GetFormat() from globals.pl into Bugzilla::Template - Patch by Frédéric Buclin r=wicked a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- report.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'report.cgi') 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 -- cgit v1.2.3-24-g4f1b