Commit e000e514 authored by Byron Jones's avatar Byron Jones

Bug 993910: Bugzilla/Search/Saved.pm:294 isn't using the cache

r=gerv, a=glob
parent eab44b1a
......@@ -290,9 +290,8 @@ sub url { return $_[0]->{'query'}; }
sub user {
my ($self) = @_;
return $self->{user} if defined $self->{user};
$self->{user} = new Bugzilla::User($self->{userid});
return $self->{user};
return $self->{user} ||=
Bugzilla::User->new({ id => $self->{userid}, cache => 1 });
}
############
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment