Commit bed34ed6 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 382330: Dependency trees broken when resolved bugs are hidden (regression) -…

Bug 382330: Dependency trees broken when resolved bugs are hidden (regression) - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=justdave a=LpSolit
parent 94fc541f
...@@ -131,7 +131,7 @@ sub GenerateTree { ...@@ -131,7 +131,7 @@ sub GenerateTree {
if (!$bugs->{$dep_id}->{'error'} if (!$bugs->{$dep_id}->{'error'}
&& Bugzilla->user->can_see_bug($dep_id) && Bugzilla->user->can_see_bug($dep_id)
&& (!$maxdepth || $depth <= $maxdepth) && (!$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' # Due to AUTOLOAD in Bug.pm, we cannot add 'dependencies'
# as a bug object attribute from here. # as a bug object attribute from here.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment