mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 12:12:18 +00:00
Various code fixes.
This commit is contained in:
@@ -148,10 +148,10 @@ class GracefulNotFoundHandler extends ExceptionHandler
|
||||
$user = auth()->user();
|
||||
$route = $request->route();
|
||||
$param = $route->parameter('account');
|
||||
if($param instanceof Account) {
|
||||
if ($param instanceof Account) {
|
||||
$accountId = (int) $param->id;
|
||||
}
|
||||
if(!($param instanceof Account)) {
|
||||
if (!($param instanceof Account)) {
|
||||
$accountId = (int) $param;
|
||||
}
|
||||
/** @var Account $account */
|
||||
|
Reference in New Issue
Block a user