зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
7712577a10
Коммит
93323c2273
|
@ -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();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче