summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Field.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Field.pm b/Bugzilla/Field.pm
index c46895924..2f884d2a2 100644
--- a/Bugzilla/Field.pm
+++ b/Bugzilla/Field.pm
@@ -640,7 +640,7 @@ sub visibility_field {
my $self = shift;
if ($self->{visibility_field_id}) {
$self->{visibility_field} ||=
- $self->new($self->{visibility_field_id});
+ $self->new({ id => $self->{visibility_field_id}, cache => 1 });
}
return $self->{visibility_field};
}