From 9d5f120e4345e3b3714641b89dcd23ed754ec5ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 20 Nov 2017 21:08:02 +0100 Subject: Fixed @j0k3r's review --- src/Wallabag/CoreBundle/Controller/ConfigController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Wallabag/CoreBundle/Controller/ConfigController.php') 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 */ public function setLocaleAction(Request $request, $language = null) { - if ($language != null) { + if ($language !== null) { $this->get('session')->set('_locale', $language); } -- cgit v1.2.3