diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-11-20 21:08:02 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-12-12 20:45:22 +0100 |
commit | 9d5f120e4345e3b3714641b89dcd23ed754ec5ef (patch) | |
tree | 83c0c487dd2725bba7c86072a271e966bd84db1b /src/Wallabag/CoreBundle | |
parent | dd50f50597720af7d39708a847b7e8604fd9d341 (diff) | |
download | wallabag-9d5f120e4345e3b3714641b89dcd23ed754ec5ef.tar.gz wallabag-9d5f120e4345e3b3714641b89dcd23ed754ec5ef.tar.zst wallabag-9d5f120e4345e3b3714641b89dcd23ed754ec5ef.zip |
Fixed @j0k3r's reviewchange-locale-register
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/ConfigController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php index 7fc8fb69..822130ae 100644 --- a/src/Wallabag/CoreBundle/Controller/ConfigController.php +++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php | |||
@@ -437,7 +437,7 @@ class ConfigController extends Controller | |||
437 | */ | 437 | */ |
438 | public function setLocaleAction(Request $request, $language = null) | 438 | public function setLocaleAction(Request $request, $language = null) |
439 | { | 439 | { |
440 | if ($language != null) { | 440 | if ($language !== null) { |
441 | $this->get('session')->set('_locale', $language); | 441 | $this->get('session')->set('_locale', $language); |
442 | } | 442 | } |
443 | 443 | ||