diff options
author | lpsolit%gmail.com <> | 2005-08-25 21:02:39 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-08-25 21:02:39 +0000 |
commit | 2a5664ad1abf679b9e50a6c409902ce2ef638cc5 (patch) | |
tree | 96de597ded0b88bd26e51f75e86a7d66c4305b7f /config.cgi | |
parent | Bug 305498: UTF-8 e-mail encoding is not working - Patch by Cedric Caron <ced... (diff) | |
download | bugzilla-2a5664ad1abf679b9e50a6c409902ce2ef638cc5.tar.gz bugzilla-2a5664ad1abf679b9e50a6c409902ce2ef638cc5.tar.bz2 bugzilla-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 'config.cgi')
-rwxr-xr-x | config.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.cgi b/config.cgi index bbffe20d8..e3ecef3ff 100755 --- a/config.cgi +++ b/config.cgi @@ -87,8 +87,8 @@ $vars->{'field'} = [Bugzilla->dbh->bz_get_field_defs()]; # Determine how the user would like to receive the output; # default is JavaScript. my $cgi = Bugzilla->cgi; -my $format = GetFormat("config", scalar($cgi->param('format')), - scalar($cgi->param('ctype')) || "js"); +my $format = $template->get_format("config", scalar($cgi->param('format')), + scalar($cgi->param('ctype')) || "js"); # Return HTTP headers. print "Content-Type: $format->{'ctype'}\n\n"; |