From cfe8a65e0697f59e1012f63660daf9e0594ced9c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 16 Nov 2016 09:25:41 +0000 Subject: [PATCH] Bug 17638: Flush the config cache on setting a new context --- C4/Context.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Context.pm b/C4/Context.pm index 15b898d..023aa4f 100644 --- a/C4/Context.pm +++ b/C4/Context.pm @@ -317,6 +317,7 @@ sub set_context # Save the old context, if any, on the stack push @context_stack, $context if defined($context); + Koha::Caches->get_instance('config')->flush_all; # Set the new context $context = $new_context; } -- 2.1.4