mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 08:11:20 +00:00
Only get active piggy banks.
This commit is contained in:
@@ -234,7 +234,7 @@ class AccountRepository implements AccountRepositoryInterface
|
|||||||
|
|
||||||
$ids = array_unique($ids);
|
$ids = array_unique($ids);
|
||||||
if (count($ids) > 0) {
|
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);
|
bcscale(2);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user