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:
authormattab <matthieu.aubry@gmail.com>2015-09-25 07:06:44 +0300
committermattab <matthieu.aubry@gmail.com>2015-09-25 07:06:56 +0300
commit8cd271d04b08021934b6e6e5a82c978a622c036c (patch)
tree204565b0ff0c85dbead062697a6593d5d8d7fc55 /plugins/Installation/Controller.php
parentbaa6da86266c7c44bc2d65821c7ffe042c2f4716 (diff)
Send language when registering to newsletter
Diffstat (limited to 'plugins/Installation/Controller.php')
-rw-r--r--plugins/Installation/Controller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Installation/Controller.php b/plugins/Installation/Controller.php
index b73f35751f..e91ab0355c 100644
--- a/plugins/Installation/Controller.php
+++ b/plugins/Installation/Controller.php
@@ -681,6 +681,7 @@ class Controller extends \Piwik\Plugin\ControllerAdmin
'piwikorg' => $newsletterPiwikORG,
'piwikpro' => $newsletterPiwikPRO,
'url' => Url::getCurrentUrlWithoutQueryString(),
+ 'language' => StaticContainer::get('Piwik\Translation\Translator')->getCurrentLanguage(),
);
if ($params['piwikorg'] == '1'
|| $params['piwikpro'] == '1'