summaryrefslogtreecommitdiffstats
path: root/showdependencytree.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'showdependencytree.cgi')
-rwxr-xr-xshowdependencytree.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/showdependencytree.cgi b/showdependencytree.cgi
index e2e9d52b0..0508f078b 100755
--- a/showdependencytree.cgi
+++ b/showdependencytree.cgi
@@ -164,7 +164,7 @@ sub GetBug {
$bug->{'assignee_email'}) = FetchSQLData();
}
- $bug->{'open'} = IsOpenedState($bug->{'status'});
+ $bug->{'open'} = $bug->{'exists'} && IsOpenedState($bug->{'status'});
$bug->{'dependencies'} = [];
return $bug;