Skip to content

Firefly III: a personal finances manager

Fix #12815

James Cole0a0983fe2af4
diff --git a/app/Support/Binder/AccountList.php b/app/Support/Binder/AccountList.php
index 6171a3e005..7084adfb38 100644
--- a/app/Support/Binder/AccountList.php
+++ b/app/Support/Binder/AccountList.php
@@ -47,6 +47,7 @@ class AccountList implements BinderInterface
->user()
->accounts()
->leftJoin('account_types', 'account_types.id', '=', 'accounts.account_type_id')
+ ->where('accounts.active', true)
->whereIn('account_types.type', [
AccountTypeEnum::ASSET->value,
AccountTypeEnum::LOAN->value,