summaryrefslogtreecommitdiffstats
path: root/chart.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-25 23:02:39 +0200
committerlpsolit%gmail.com <>2005-08-25 23:02:39 +0200
commit2a5664ad1abf679b9e50a6c409902ce2ef638cc5 (patch)
tree96de597ded0b88bd26e51f75e86a7d66c4305b7f /chart.cgi
parentf1f97d1ce4e9d90680aca0adc97e7b5f97c6cc25 (diff)
downloadbugzilla-2a5664ad1abf679b9e50a6c409902ce2ef638cc5.tar.gz
bugzilla-2a5664ad1abf679b9e50a6c409902ce2ef638cc5.tar.xz
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 'chart.cgi')
-rwxr-xr-xchart.cgi2
1 files changed, 1 insertions, 1 deletions
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')) {