Bug 382330: Dependency trees broken when resolved bugs are hidden (regression) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=justdave a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@227160 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -131,7 +131,7 @@ sub GenerateTree {
|
||||
if (!$bugs->{$dep_id}->{'error'}
|
||||
&& Bugzilla->user->can_see_bug($dep_id)
|
||||
&& (!$maxdepth || $depth <= $maxdepth)
|
||||
&& ($bugs->{$dep_id}->{'isopened'} || !$hide_resolved))
|
||||
&& ($bugs->{$dep_id}->isopened || !$hide_resolved))
|
||||
{
|
||||
# Due to AUTOLOAD in Bug.pm, we cannot add 'dependencies'
|
||||
# as a bug object attribute from here.
|
||||
|
||||
Reference in New Issue
Block a user