X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FController%2FConfigController.php;h=822130aeaac7eb6310c406e5f70357ed65644b52;hb=refs%2Fheads%2Fchange-locale-register;hp=7fc8fb699c14f6d05331dd6543d1bf9f7b380d32;hpb=dd50f50597720af7d39708a847b7e8604fd9d341;p=github%2Fwallabag%2Fwallabag.git 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); }