mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 07:08:19 +00:00
Code cleanup
This commit is contained in:
@@ -48,8 +48,8 @@ class IsSandStormUser
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
if (1 === intval(getenv('SANDSTORM'))) {
|
||||
Session::flash('warning', strval(trans('firefly.sandstorm_not_available')));
|
||||
if (1 === (int)getenv('SANDSTORM')) {
|
||||
Session::flash('warning', (string)trans('firefly.sandstorm_not_available'));
|
||||
|
||||
return response()->redirectTo(route('index'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user