summaryrefslogtreecommitdiffstats
path: root/bug_form.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bug_form.pl')
-rw-r--r--bug_form.pl9
1 files changed, 4 insertions, 5 deletions
diff --git a/bug_form.pl b/bug_form.pl
index 792e816ad..b074cdb15 100644
--- a/bug_form.pl
+++ b/bug_form.pl
@@ -67,8 +67,8 @@ sub show_bug {
my $id = $::FORM{'id'};
if (!defined($id)) {
- $template->process("show/choose_bug.html.tmpl", $vars)
- || DisplayError("Template process failed: " . $template->error());
+ $template->process("bug/choose.html.tmpl", $vars)
+ || ThrowTemplateError($template->error());
exit;
}
@@ -312,9 +312,8 @@ sub show_bug {
$vars->{'user'} = \%user;
# Generate and return the UI (HTML page) from the appropriate template.
- $template->process("show/show_bug.html.tmpl", $vars)
- || DisplayError("Template process failed: " . $template->error())
- && exit;
+ $template->process("bug/edit.html.tmpl", $vars)
+ || ThrowTemplateError($template->error());
}
1;