aboutsummaryrefslogtreecommitdiff
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 /enter_bug.cgi
parentBug 305498: UTF-8 e-mail encoding is not working - Patch by Cedric Caron <ced... (diff)
downloadbugzilla-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 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index d60ac7bc7..fd009e518 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -581,9 +581,9 @@ $vars->{'group'} = \@groups;
$vars->{'default'} = \%default;
-my $format =
- GetFormat("bug/create/create", scalar $cgi->param('format'),
- scalar $cgi->param('ctype'));
+my $format = $template->get_format("bug/create/create",
+ scalar $cgi->param('format'),
+ scalar $cgi->param('ctype'));
print $cgi->header($format->{'ctype'});
$template->process($format->{'template'}, $vars)