diff options
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-x | showdependencygraph.cgi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index ff0602d46..67faced19 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -169,7 +169,10 @@ my $sth = $dbh->prepare( q{SELECT bug_status, resolution, short_desc FROM bugs WHERE bugs.bug_id = ?}); -foreach my $k (keys(%seen)) { + +my @bug_ids = keys %seen; +$user->visible_bugs(\@bug_ids); +foreach my $k (@bug_ids) { # Retrieve bug information from the database my ($stat, $resolution, $summary) = $dbh->selectrow_array($sth, undef, $k); |