exists $param{bug_index}{$bug}) {
my %status = %{$param{bug_index}{$bug}};
$status{pending} = $status{status};
- $status{id} = $param{bug};
+ $status{id} = $bug;
$statuses{$bug} = \%status;
}
elsif (defined $param{status} and
my $location = getbuglocation($bug, 'summary');
next if not defined $location or not length $location;
my %status = %{ readbug( $bug, $location ) };
+ $status{id} = $bug;
$statuses{$bug} = \%status;
}
}