X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cgi%2Fbugreport.cgi;h=7d3911a9a62f7690c8c80af21cf272c2d1767708;hb=45bf8c6b85f0fc1f7b48127c3f890303bfe7b60c;hp=dcf3e36fd2ea82326b947f39b3ec6ba709e1bc74;hpb=9056bf9dbbff4dda558b50bfb8da3091a4f30570;p=debbugs.git diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index dcf3e36..7d3911a 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -415,7 +415,9 @@ $status{blockedby_array} = []; if (@blockedby && $status{"pending"} ne 'fixed' && ! length($status{done})) { for my $b (@blockedby) { my %s = %{get_bug_status($b)}; - next if $s{"pending"} eq 'fixed' || length $s{done}; + next if (defined $s{pending} and + $s{"pending"} eq 'fixed') or + length $s{done}; push @{$status{blockedby_array}},{bug_num => $b, subject => $s{subject}, status => \%s}; } }