mirror of
https://github.com/Findus23/plugin-LanguageToogle.git
synced 2024-09-10 05:13:46 +02:00
0.3.5: fix typo
This commit is contained in:
parent
c48ba509be
commit
c961741e41
3 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
|||
## Changelog
|
||||
|
||||
### 0.3.5
|
||||
|
||||
fix typo in 0.3.4
|
||||
|
||||
### 0.3.4
|
||||
|
||||
add workaround for bug in Matomo 4.7.0 and 4.7.1
|
||||
|
|
|
@ -21,7 +21,7 @@ class Controller extends \Piwik\Plugin\Controller
|
|||
$lang = Common::getRequestVar("lang");
|
||||
$returnModule = Common::getRequestVar("returnModule");
|
||||
$returnAction = Common::getRequestVar("returnAction");
|
||||
LanguagesManager::setLanguageForSession("");
|
||||
LanguagesManager::setLanguageForSession($lang);
|
||||
if (Version::VERSION == '4.7.1' || Version::VERSION == '4.7.0') {
|
||||
APILanguagesManager::getInstance()->setLanguageForUser(Piwik::getCurrentUserLogin(), $lang);
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "LanguageToogle",
|
||||
"description": "Quickly change the language of Matomo",
|
||||
"version": "0.3.4",
|
||||
"version": "0.3.5",
|
||||
"theme": false,
|
||||
"require": {
|
||||
"piwik": ">=4.0.0-b1,<5.0.0-b1"
|
||||
|
|
Loading…
Reference in a new issue