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. --- enter_bug.cgi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'enter_bug.cgi') diff --git a/enter_bug.cgi b/enter_bug.cgi index ec008b9d6..dce3dd4ac 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -86,8 +86,8 @@ if (!defined $::FORM{'product'}) { "First, you must pick a product on which to enter a bug."; print "Content-type: text/html\n\n"; - $template->process("global/choose_product.tmpl", $vars) - || DisplayError("Template process failed: " . $template->error()); + $template->process("global/choose-product.html.tmpl", $vars) + || ThrowTemplateError($template->error()); exit; } @@ -355,6 +355,6 @@ if ($::usergroupset ne '0') { $vars->{'default'} = \%default; print "Content-type: text/html\n\n"; -$template->process("entry/enter_bug.tmpl", $vars) - || DisplayError("Template process failed: " . $template->error()); +$template->process("bug/create/create.html.tmpl", $vars) + || ThrowTemplateError($template->error()); exit; -- cgit v1.2.3-24-g4f1b