Fix issues with localizations not applying properly
This commit is contained in:
@@ -55,8 +55,7 @@ class Localize
|
||||
*/
|
||||
public function handle(Request $request, Closure $next)
|
||||
{
|
||||
// Early exit optimization.
|
||||
if (!$this->config->get('setting.automatic_localization')) {
|
||||
if (!(bool) $this->config->get('setting.automatic_localization')) {
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user