From 3a6d38cbcb3644cefd508f3c4489045dd650316f Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 9 Nov 2016 11:11:08 +0000 Subject: [PATCH] Bug 16520 - (Follow up) Restore retrieval of syspref_cache Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- C4/Context.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Context.pm b/C4/Context.pm index c9d961710a..15b898de3b 100644 --- a/C4/Context.pm +++ b/C4/Context.pm @@ -401,7 +401,7 @@ with this method. =cut -my $syspref_cache; +my $syspref_cache = Koha::Caches->get_instance('syspref'); my $use_syspref_cache = 1; sub preference { my $self = shift; -- 2.39.5