]> git.donarmstrong.com Git - debbugs.git/commitdiff
use get_bug_status instead of getbugstatus
authorDon Armstrong <don@volo>
Sun, 4 Feb 2007 08:53:54 +0000 (00:53 -0800)
committerDon Armstrong <don@volo>
Sun, 4 Feb 2007 08:53:54 +0000 (00:53 -0800)
cgi/bugreport.cgi

index 843d4f41d56b60cf36ff7a71f3d68ae1e0ee0bf9..5a28f5792b35ad9a95e3e06f2368a989307d8b8c 100755 (executable)
@@ -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 <a href=\"" . bug_url($b) . "\">#$b</a>: ".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 <a href=\"" . bug_url($b) . "\">#$b</a>: ".html_escape($s{subject});
     }