aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/ConfigController.php
diff options
context:
space:
mode:
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