summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-05-29 23:38:37 +0200
committerlpsolit%gmail.com <>2007-05-29 23:38:37 +0200
commitbed34ed638cd8e10663003635b552f6f7c0b2fa5 (patch)
treed2a9286225fa1681eba296e09d56a3f11628766d
parent94fc541fdd0cc0061484f0a5a6d9bdec060cd9ad (diff)
downloadbugzilla-bed34ed638cd8e10663003635b552f6f7c0b2fa5.tar.gz
bugzilla-bed34ed638cd8e10663003635b552f6f7c0b2fa5.tar.xz
Bug 382330: Dependency trees broken when resolved bugs are hidden (regression) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=justdave a=LpSolit
-rwxr-xr-xshowdependencytree.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/showdependencytree.cgi b/showdependencytree.cgi
index 1010adcd0..861dee859 100755
--- a/showdependencytree.cgi
+++ b/showdependencytree.cgi
@@ -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.