mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix null pointer
This commit is contained in:
parent
88724be3aa
commit
7617fe3510
@ -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;
|
||||
|
@ -39,7 +39,11 @@ Several alpha and beta releases preceded this release.
|
||||
- Expanded API for piggy banks to support object groups.
|
||||
|
||||
### Known issues
|
||||
- You may run into date conversion problems if you're living on the right side of GMT. If transactions appear a day early, let me know.
|
||||
- You may run into date conversion problems if you're living on the right side of GMT. If transactions appear a day early, let me know.
|
||||
|
||||
### Notes
|
||||
|
||||
- From this release on, the Dockerfile and default configuration will install MySQL (using MariaDB) instead of PostgreSQL.
|
||||
|
||||
## [5.2.8 (API 1.1.0)] - 2020-06-02
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user