summaryrefslogtreecommitdiffstats
path: root/bug_form.pl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-04-24 16:24:43 +0200
committergerv%gerv.net <>2002-04-24 16:24:43 +0200
commit05d101e58b400b1a52adcc86515b5442b85cd2f5 (patch)
treeded36788873d147ce2a62bd76239e0e99974c621 /bug_form.pl
parentc29a6dcb565731ef6757a625b7374e7ff46d417c (diff)
downloadbugzilla-05d101e58b400b1a52adcc86515b5442b85cd2f5.tar.gz
bugzilla-05d101e58b400b1a52adcc86515b5442b85cd2f5.tar.xz
Bug 138588 - change to use new template structure. Patch by gerv, r=myk, afranke.
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;