From a9563726f94b5a5781824d3139d3baa6d74583ab 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 --- C4/Context.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Context.pm b/C4/Context.pm index c9d9617..15b898d 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.1.4