run->cases is returning the wrong thing.

This commit is contained in:
ghendricks%novell.com 2006-12-11 22:08:06 +00:00
Родитель 6071beafcc
Коммит 6442a6fe9f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -980,7 +980,7 @@ sub cases {
return $self->{'cases'} if exists $self->{'cases'};
my @cases;
foreach my $cr (@{$self->current_caseruns}){
push @cases, Bugzilla::Testopia::TestCase->new($cr->id);
push @cases, Bugzilla::Testopia::TestCase->new($cr->case_id);
}
$self->{'cases'} = \@cases;
return $self->{'cases'};