From e145f767f38c3531196dad5453f298fbea243daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 27 Feb 2014 13:26:07 +0100 Subject: [PATCH] [add] empty cache after changing language #492 --- inc/poche/Poche.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index a9e226c4b..87c00b78c 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php @@ -790,6 +790,8 @@ class Poche $currentConfig['language'] = $_POST['language']; $_SESSION['poche_user']->setConfig($currentConfig); + + $this->emptyCache(); Tools::redirect('?view=config'); }