From: gerv%gerv.net <> Date: Wed, 11 Sep 2002 21:12:12 +0000 (+0000) Subject: Bug 166698 - The error system's in a bit of a mess. This file was missed on the origi... X-Git-Tag: bugzilla-2.17.1~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5d6844efc09646e5233891badb68fd7ce6f8df7;p=thirdparty%2Fbugzilla.git Bug 166698 - The error system's in a bit of a mess. This file was missed on the original checkin. --- diff --git a/buglist.cgi b/buglist.cgi index c5359c6e3b..74e436aeed 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();