Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix null pointer
James Cole7617fe351044
diff --git a/app/Http/Controllers/PiggyBank/IndexController.php b/app/Http/Controllers/PiggyBank/IndexController.phpindex 6ed9abd464..6eada96c59 100644--- a/app/Http/Controllers/PiggyBank/IndexController.php+++ b/app/Http/Controllers/PiggyBank/IndexController.php@@ -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;diff --git a/changelog.md b/changelog.mdindex c5cc3d291f..588394eecf 100644--- a/changelog.md+++ b/changelog.md@@ -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