mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Cleanup in preparation of an overhaul.
This commit is contained in:
@@ -387,7 +387,7 @@ class Report implements ReportInterface
|
||||
$sharedAccounts[] = $account->id;
|
||||
}
|
||||
|
||||
$accounts = $this->_accounts->getAssetAccounts()->filter(
|
||||
$accounts = $this->_accounts->getAccountsByType(['Default account', 'Asset account'])->filter(
|
||||
function (\Account $account) use ($sharedAccounts) {
|
||||
if (!in_array($account->id, $sharedAccounts)) {
|
||||
return $account;
|
||||
|
Reference in New Issue
Block a user