From b2ca39703efb4a553c0c9d51b7a5ddf93d90be72 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 4 Feb 2007 00:53:54 -0800 Subject: [PATCH] use get_bug_status instead of getbugstatus --- cgi/bugreport.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index 843d4f41..5a28f579 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}); } -- 2.39.5