summaryrefslogtreecommitdiffstats
path: root/xml.cgi
diff options
context:
space:
mode:
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();