mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Only get active piggy banks.
This commit is contained in:
parent
de634da513
commit
7b8c86e1e3
@ -234,7 +234,7 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
|
||||
$ids = array_unique($ids);
|
||||
if (count($ids) > 0) {
|
||||
$accounts = Auth::user()->accounts()->whereIn('id', $ids)->get();
|
||||
$accounts = Auth::user()->accounts()->whereIn('id', $ids)->where('accounts.active', 1)->get();
|
||||
}
|
||||
bcscale(2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user