mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Attachments for accounts are visible #2828
This commit is contained in:
@@ -311,7 +311,7 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
$query = $this->user->accounts()->with(
|
||||
['accountmeta' => function (HasMany $query) {
|
||||
$query->where('name', 'account_role');
|
||||
}]
|
||||
}, 'attachments']
|
||||
);
|
||||
if (count($types) > 0) {
|
||||
$query->accountTypeIn($types);
|
||||
|
Reference in New Issue
Block a user