aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/ConfigController.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-11-20 21:08:02 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2017-12-12 20:45:22 +0100
commit9d5f120e4345e3b3714641b89dcd23ed754ec5ef (patch)
tree83c0c487dd2725bba7c86072a271e966bd84db1b /src/Wallabag/CoreBundle/Controller/ConfigController.php
parentdd50f50597720af7d39708a847b7e8604fd9d341 (diff)
downloadwallabag-change-locale-register.tar.gz
wallabag-change-locale-register.tar.zst
wallabag-change-locale-register.zip
Fixed @j0k3r's reviewchange-locale-register
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/ConfigController.php')
-rw-r--r--src/Wallabag/CoreBundle/Controller/ConfigController.php2
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