From 2a5664ad1abf679b9e50a6c409902ce2ef638cc5 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 25 Aug 2005 21:02:39 +0000 Subject: =?UTF-8?q?Bug=20208761:=20Move=20GetFormat()=20from=20globals.pl?= =?UTF-8?q?=20into=20Bugzilla::Template=20-=20Patch=20by=20Fr=C3=A9d=C3=A9?= =?UTF-8?q?ric=20Buclin=20=20r=3Dwicked=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chart.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart.cgi') diff --git a/chart.cgi b/chart.cgi index 812803199..2b8d39b56 100755 --- a/chart.cgi +++ b/chart.cgi @@ -265,7 +265,7 @@ sub plot { validateWidthAndHeight(); $vars->{'chart'} = new Bugzilla::Chart($cgi); - my $format = &::GetFormat("reports/chart", "", scalar($cgi->param('ctype'))); + my $format = $template->get_format("reports/chart", "", scalar($cgi->param('ctype'))); # Debugging PNGs is a pain; we need to be able to see the error messages if ($cgi->param('debug')) { -- cgit v1.2.1