mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-24 20:55:31 +00:00
Add intval just in case.
This commit is contained in:
@@ -568,7 +568,7 @@ class ExpenseController extends Controller
|
|||||||
];
|
];
|
||||||
// loop to support multi currency
|
// loop to support multi currency
|
||||||
foreach ($set as $transaction) {
|
foreach ($set as $transaction) {
|
||||||
$currencyId = $transaction->transaction_currency_id;
|
$currencyId = intval($transaction->transaction_currency_id);
|
||||||
|
|
||||||
// if not set, set to zero:
|
// if not set, set to zero:
|
||||||
if (!isset($sum['per_currency'][$currencyId])) {
|
if (!isset($sum['per_currency'][$currencyId])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user