diff options
author | gerv%gerv.net <> | 2002-04-24 14:24:43 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2002-04-24 14:24:43 +0000 |
commit | 05d101e58b400b1a52adcc86515b5442b85cd2f5 (patch) | |
tree | ded36788873d147ce2a62bd76239e0e99974c621 /bug_form.pl | |
parent | c29a6dcb565731ef6757a625b7374e7ff46d417c (diff) | |
download | bugs-05d101e58b400b1a52adcc86515b5442b85cd2f5.tar bugs-05d101e58b400b1a52adcc86515b5442b85cd2f5.tar.gz bugs-05d101e58b400b1a52adcc86515b5442b85cd2f5.tar.bz2 bugs-05d101e58b400b1a52adcc86515b5442b85cd2f5.tar.xz bugs-05d101e58b400b1a52adcc86515b5442b85cd2f5.zip |
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.pl | 9 |
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; |