mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-07 06:33:57 -06:00
Add intval just in case.
This commit is contained in:
parent
6fe5ce0485
commit
6799268ec4
@ -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])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user