Skip to content

Commit

Permalink
[BUGFIX] Avoid exception cause of nautice
Browse files Browse the repository at this point in the history
  • Loading branch information
georgringer committed Mar 5, 2023
1 parent b2d7d78 commit 62cc3fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Middleware/LanguageRedirectMiddleware.php
Expand Up @@ -43,7 +43,7 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
'overrideSessionValue' => (bool)($locateSetup['overrideSessionValue'] ?? 0),
'sessionHandling' => (bool)($locateSetup['sessionHandling'] ?? 0),
'excludeBots' => (bool)($locateSetup['excludeBots'] ?? 1),
'simulateIp' => $locateSetup['simulateIp'] ? : null,
'simulateIp' => (string)($locateSetup['simulateIp'] ?? ''),
],
];

Expand Down

0 comments on commit 62cc3fb

Please sign in to comment.