Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Installation/Controller.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Installation/Controller.php b/plugins/Installation/Controller.php
index 7352a0df6e..b73f35751f 100644
--- a/plugins/Installation/Controller.php
+++ b/plugins/Installation/Controller.php
@@ -471,6 +471,9 @@ class Controller extends \Piwik\Plugin\ControllerAdmin
*/
public function saveLanguage()
{
+ if (DbHelper::isInstalled()) {
+ $this->checkTokenInUrl();
+ }
$language = $this->getParam('language');
LanguagesManager::setLanguageForSession($language);
Url::redirectToReferrer();