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:
lpsolit%gmail.com
2007-05-29 16:38:37 +00:00
parent 37fa55bfa5
commit 0c816e462a

View File

@@ -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.