mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 18:40:12 +00:00
Fix null pointer
This commit is contained in:
@@ -158,7 +158,7 @@ class IndexController extends Controller
|
|||||||
}
|
}
|
||||||
foreach ($piggyBanks as $groupOrder => $group) {
|
foreach ($piggyBanks as $groupOrder => $group) {
|
||||||
$groupId = $group['object_group_id'];
|
$groupId = $group['object_group_id'];
|
||||||
$piggyBanks[$groupOrder]['sums'] = $sums[$groupId];
|
$piggyBanks[$groupOrder]['sums'] = $sums[$groupId] ?? [];
|
||||||
}
|
}
|
||||||
|
|
||||||
return $piggyBanks;
|
return $piggyBanks;
|
||||||
|
@@ -39,7 +39,11 @@ Several alpha and beta releases preceded this release.
|
|||||||
- Expanded API for piggy banks to support object groups.
|
- Expanded API for piggy banks to support object groups.
|
||||||
|
|
||||||
### Known issues
|
### 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
|
## [5.2.8 (API 1.1.0)] - 2020-06-02
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user