mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
Fix null pointer
This commit is contained in:
@@ -158,7 +158,7 @@ class IndexController extends Controller
|
||||
}
|
||||
foreach ($piggyBanks as $groupOrder => $group) {
|
||||
$groupId = $group['object_group_id'];
|
||||
$piggyBanks[$groupOrder]['sums'] = $sums[$groupId];
|
||||
$piggyBanks[$groupOrder]['sums'] = $sums[$groupId] ?? [];
|
||||
}
|
||||
|
||||
return $piggyBanks;
|
||||
|
Reference in New Issue
Block a user