aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuglist.cgi6
1 files changed, 2 insertions, 4 deletions
diff --git a/buglist.cgi b/buglist.cgi
index c5359c6e3..74e436aee 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -57,12 +57,10 @@ use vars qw($db_name
@versions);
if (length($::buffer) == 0) {
- $vars->{'message'} = "buglist_parameters_required";
print "Refresh: 10; URL=query.cgi\n";
print "Content-Type: text/html\n\n";
- $template->process("global/message.html.tmpl", $vars)
- || ThrowTemplateError($template->error());
- exit;
+ $vars->{'header_done'} = 1;
+ ThrowUserError("buglist_parameters_required");
}
ConnectToDatabase();