mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Skip deleted piggies.
This commit is contained in:
@@ -277,6 +277,9 @@ class TransactionGroupRepository implements TransactionGroupRepositoryInterface
|
||||
->get(['piggy_bank_events.*']);
|
||||
/** @var PiggyBankEvent $row */
|
||||
foreach ($data as $row) {
|
||||
if(null === $row->piggyBank) {
|
||||
continue;
|
||||
}
|
||||
// get currency preference.
|
||||
$currencyPreference = AccountMeta
|
||||
::where('account_id', $row->piggyBank->account_id)
|
||||
|
Reference in New Issue
Block a user