mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix array.
This commit is contained in:
parent
2904baf44e
commit
08703e282f
@ -266,9 +266,10 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
*/
|
||||
public function getPiggyBankAccounts()
|
||||
{
|
||||
$start = clone Session::get('start', new Carbon);
|
||||
$end = clone Session::get('end', new Carbon);
|
||||
$ids = DB::table('piggy_banks')->distinct()->get(['piggy_banks.account_id'])->pluck('account_id')->toArray();
|
||||
$start = clone Session::get('start', new Carbon);
|
||||
$end = clone Session::get('end', new Carbon);
|
||||
$collection = new Collection(DB::table('piggy_banks')->distinct()->get(['piggy_banks.account_id']));
|
||||
$ids = $collection->pluck('account_id')->toArray();
|
||||
$accounts = new Collection;
|
||||
|
||||
$cache = new CacheProperties;
|
||||
|
Loading…
Reference in New Issue
Block a user