mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-03 12:47:17 -06:00
id was ambiguous.
This commit is contained in:
parent
3e05fd91d9
commit
c8227e09ee
@ -131,7 +131,7 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
$query = Auth::user()->accounts()->accountTypeIn(['Default account', 'Asset account']);
|
||||
|
||||
if (count($preference->data) > 0) {
|
||||
$query->whereIn('id', $preference->data);
|
||||
$query->whereIn('accounts.id', $preference->data);
|
||||
}
|
||||
|
||||
$result = $query->get(['accounts.*']);
|
||||
|
Loading…
Reference in New Issue
Block a user