summaryrefslogtreecommitdiffstats
path: root/xml.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 /xml.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 'xml.cgi')
-rwxr-xr-xxml.cgi7
1 files changed, 3 insertions, 4 deletions
diff --git a/xml.cgi b/xml.cgi
index 1773ec6cf..8356c3d89 100755
--- a/xml.cgi
+++ b/xml.cgi
@@ -34,10 +34,9 @@ use vars qw($template $vars);
if (!defined $::FORM{'id'} || !$::FORM{'id'}) {
print "Content-Type: text/html\n\n";
- $template->process("show/choose_xml.html.tmpl", $vars)
- || DisplayError("Template process failed: " . $template->error())
- && exit;
- exit;
+ $template->process("bug/choose-xml.html.tmpl", $vars)
+ || ThrowTemplateError($template->error());
+ exit;
}
quietly_check_login();