Bug 166698 - The error system's in a bit of a mess. This file was missed on the original checkin.

This commit is contained in:
gerv%gerv.net 2002-09-11 14:12:12 +00:00
Родитель 7712577a10
Коммит 93323c2273
1 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -57,12 +57,10 @@ use vars qw($db_name
@versions); @versions);
if (length($::buffer) == 0) { if (length($::buffer) == 0) {
$vars->{'message'} = "buglist_parameters_required";
print "Refresh: 10; URL=query.cgi\n"; print "Refresh: 10; URL=query.cgi\n";
print "Content-Type: text/html\n\n"; print "Content-Type: text/html\n\n";
$template->process("global/message.html.tmpl", $vars) $vars->{'header_done'} = 1;
|| ThrowTemplateError($template->error()); ThrowUserError("buglist_parameters_required");
exit;
} }
ConnectToDatabase(); ConnectToDatabase();