This commit is contained in:
James Cole 2020-03-26 19:59:38 +01:00
parent 628b493128
commit 54e3c7d729
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -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 =