summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-09-11 23:12:12 +0200
committergerv%gerv.net <>2002-09-11 23:12:12 +0200
commitc5d6844efc09646e5233891badb68fd7ce6f8df7 (patch)
treed13cb99c7cba28a6686ceac9464e1901acf56898
parent3ca52bba011446c4e2d897f98847c2c3d4ea51cd (diff)
downloadbugzilla-c5d6844efc09646e5233891badb68fd7ce6f8df7.tar.gz
bugzilla-c5d6844efc09646e5233891badb68fd7ce6f8df7.tar.xz
Bug 166698 - The error system's in a bit of a mess. This file was missed on the original checkin.
-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();