Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Add intval just in case.
James Cole6799268ec471
diff --git a/app/Http/Controllers/Report/ExpenseController.php b/app/Http/Controllers/Report/ExpenseController.phpindex 90dc90a2ea..ecd36ada6a 100644--- a/app/Http/Controllers/Report/ExpenseController.php+++ b/app/Http/Controllers/Report/ExpenseController.php@@ -568,7 +568,7 @@ class ExpenseController extends Controller];// loop to support multi currencyforeach ($set as $transaction) {- $currencyId = $transaction->transaction_currency_id;+ $currencyId = intval($transaction->transaction_currency_id);// if not set, set to zero:if (!isset($sum['per_currency'][$currencyId])) {