summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
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 /enter_bug.cgi
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 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi8
1 files changed, 4 insertions, 4 deletions
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;