Commit cf2298c9 authored by Byron Jones's avatar Byron Jones

Bug 655210: Allows custom bug creation formats to specify a "created" format

r=dkl, a=LpSolit
parent df2d2daa
......@@ -256,8 +256,11 @@ foreach my $dep (@{$bug->dependson || []}, @{$bug->blocked || []}) {
}
$vars->{sentmail} = \@all_mail_results;
$format = $template->get_format("bug/create/created",
scalar($cgi->param('created-format')),
"html");
print $cgi->header();
$template->process("bug/create/created.html.tmpl", $vars)
$template->process($format->{'template'}, $vars)
|| ThrowTemplateError($template->error());
1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment