Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Possible fix for #4734
James Cole5a7f933a5ca8
diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.phpindex 5163730398..7d3f9ecbf8 100644--- a/app/Http/Controllers/ProfileController.php+++ b/app/Http/Controllers/ProfileController.php@@ -354,7 +354,7 @@ class ProfileController extends Controller$user = auth()->user();$isInternalAuth = $this->internalAuth;$isInternalIdentity = $this->internalIdentity;- $count = DB::table('oauth_clients')->where('personal_access_client', 1)->whereNull('user_id')->count();+ $count = DB::table('oauth_clients')->where('personal_access_client', true)->whereNull('user_id')->count();$subTitle = $user->email;$userId = $user->id;$enabled2FA = null !== $user->mfa_secret;