зеркало из https://github.com/mozilla/gecko-dev.git
Don't even mention bugs that the user does not have permission to see.
This commit is contained in:
Родитель
dcba0152e7
Коммит
3ceb3170da
|
@ -57,10 +57,11 @@ sub DumpKids {
|
||||||
if (@list) {
|
if (@list) {
|
||||||
print "<ul>\n";
|
print "<ul>\n";
|
||||||
foreach my $kid (@list) {
|
foreach my $kid (@list) {
|
||||||
SendSQL("select bug_status, short_desc from bugs where bug_id = $kid and bugs.groupset & $::usergroupset = bugs.groupset");
|
SendSQL("select bug_id, bug_status, short_desc from bugs where bug_id = $kid and bugs.groupset & $::usergroupset = bugs.groupset");
|
||||||
my ($stat, $short_desc) = (FetchSQLData());
|
my ($bugid, $stat, $short_desc) = (FetchSQLData());
|
||||||
$stat = "NEW" if !defined $stat;
|
if (!defined $bugid) {
|
||||||
$short_desc = "" if !defined $short_desc;
|
next;
|
||||||
|
}
|
||||||
my $opened = ($stat eq "NEW" || $stat eq "ASSIGNED" ||
|
my $opened = ($stat eq "NEW" || $stat eq "ASSIGNED" ||
|
||||||
$stat eq "REOPENED");
|
$stat eq "REOPENED");
|
||||||
print "<li>";
|
print "<li>";
|
||||||
|
|
Загрузка…
Ссылка в новой задаче