From 05d101e58b400b1a52adcc86515b5442b85cd2f5 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Wed, 24 Apr 2002 14:24:43 +0000 Subject: Bug 138588 - change to use new template structure. Patch by gerv, r=myk, afranke. --- bug_form.pl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'bug_form.pl') 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; -- cgit v1.2.1