mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix #6122
This commit is contained in:
parent
d1529a0cfc
commit
ced55b5065
@ -117,7 +117,7 @@ class TransactionGroupTransformer extends AbstractTransformer
|
||||
|
||||
// amount:
|
||||
$type = $this->stringFromArray($transaction, 'transaction_type_type', TransactionType::WITHDRAWAL);
|
||||
$amount = app('steam')->positive($row['amount'] ?? '0');
|
||||
$amount = app('steam')->positive((string)($row['amount'] ?? '0'));
|
||||
$foreignAmount = null;
|
||||
if (null !== $row['foreign_amount']) {
|
||||
$foreignAmount = app('steam')->positive($row['foreign_amount']);
|
||||
|
Loading…
Reference in New Issue
Block a user