mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
id was ambiguous.
This commit is contained in:
@@ -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.*']);
|
||||
|
Reference in New Issue
Block a user