summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi5
1 files changed, 2 insertions, 3 deletions
diff --git a/query.cgi b/query.cgi
index fe6fe1622..c2d5a3ba6 100755
--- a/query.cgi
+++ b/query.cgi
@@ -381,6 +381,5 @@ $vars->{'default'} = \%default;
# Generate and return the UI (HTML page) from the appropriate template.
print "Content-type: text/html\n\n";
-$template->process("query/query.atml", $vars)
- || DisplayError("Template process failed: " . $template->error())
- && exit;
+$template->process("search/search.html.tmpl", $vars)
+ || ThrowTemplateError($template->error());