From: Don Armstrong Date: Sun, 4 Feb 2007 08:53:54 +0000 (-0800) Subject: use get_bug_status instead of getbugstatus X-Git-Tag: release/2.6.0~585^2^2~25 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=b2ca39703efb4a553c0c9d51b7a5ddf93d90be72 use get_bug_status instead of getbugstatus --- diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index 843d4f4..5a28f57 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -305,7 +305,7 @@ if (@{$status{fixed_versions}}) { my @blockedby= split(/ /, $status{blockedby}); if (@blockedby && $status{"pending"} ne 'fixed' && ! length($status{done})) { for my $b (@blockedby) { - my %s = %{getbugstatus($b)}; + my %s = %{get_bug_status($b)}; next if $s{"pending"} eq 'fixed' || length $s{done}; push @descstates, "Fix blocked by #$b: ".html_escape($s{subject}); } @@ -314,7 +314,7 @@ if (@blockedby && $status{"pending"} ne 'fixed' && ! length($status{done})) { my @blocks= split(/ /, $status{blocks}); if (@blocks && $status{"pending"} ne 'fixed' && ! length($status{done})) { for my $b (@blocks) { - my %s = %{getbugstatus($b)}; + my %s = %{get_bug_status($b)}; next if $s{"pending"} eq 'fixed' || length $s{done}; push @descstates, "Blocking fix for #$b: ".html_escape($s{subject}); }