Fixed bug reports link

This commit is contained in:
ghendricks%novell.com 2006-10-31 22:41:27 +00:00
parent 5ccbeef2f7
commit b932f8fd37
2 changed files with 2 additions and 2 deletions

View File

@ -1030,7 +1030,7 @@ sub bugs {
foreach my $id (@{$ref}){
push @bugs, Bugzilla::Bug->new($id, Bugzilla->user->id);
}
$self->{'bugs'} = \@bugs;
$self->{'bugs'} = \@bugs if @bugs;
$self->{'bug_list'} = join(',', @$ref);
return $self->{'bugs'};
}

View File

@ -922,7 +922,7 @@ sub bugs {
foreach my $id (@{$ref}){
push @bugs, Bugzilla::Bug->new($id, Bugzilla->user->id);
}
$self->{'bugs'} = \@bugs;
$self->{'bugs'} = \@bugs if @bugs;
$self->{'bug_list'} = join(',', @$ref);
return $self->{'bugs'};
}