Fix crash when disabling used statuses

3col
Vitaliy Filippov 2015-07-09 14:50:39 +03:00
parent 9267e2537a
commit 6f81de0d0d
1 changed files with 1 additions and 1 deletions

View File

@ -3171,7 +3171,7 @@ sub status
return undef if !$self->{bug_status};
if (!$self->{status})
{
($self->{status}) = grep { $_->id == $self->{bug_status} } Bugzilla::Status->get_all;
($self->{status}) = grep { $_->id == $self->{bug_status} } Bugzilla::Status->get_all(1);
}
return $self->{status};
}