diff options
author | gerv%gerv.net <> | 2002-09-11 23:12:12 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-09-11 23:12:12 +0200 |
commit | c5d6844efc09646e5233891badb68fd7ce6f8df7 (patch) | |
tree | d13cb99c7cba28a6686ceac9464e1901acf56898 | |
parent | 3ca52bba011446c4e2d897f98847c2c3d4ea51cd (diff) | |
download | bugzilla-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-x | buglist.cgi | 6 |
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(); |