mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix #3211
This commit is contained in:
parent
628b493128
commit
54e3c7d729
File diff suppressed because one or more lines are too long
@ -569,8 +569,8 @@
|
||||
|
||||
// parse amount if has exactly one comma:
|
||||
// solves issues with some locales.
|
||||
if (1 === (row.amount.match(/\,/g) || []).length) {
|
||||
row.amount = row.amount.replace(',', '.');
|
||||
if (1 === (String(row.amount).match(/\,/g) || []).length) {
|
||||
row.amount = String(row.amount).replace(',', '.');
|
||||
}
|
||||
|
||||
currentArray =
|
||||
|
Loading…
Reference in New Issue
Block a user