Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Update Amount.php
James Colee442eb6ce280
diff --git a/app/Import/Converter/Amount.php b/app/Import/Converter/Amount.phpindex 1177b86a2e..bf1f23fdf9 100644--- a/app/Import/Converter/Amount.php+++ b/app/Import/Converter/Amount.php@@ -36,6 +36,10 @@ class Amount implements ConverterInterface*/public function convert($value): string{+ if(is_null($value)) {+ return '0';+ }+ $value = strval($value);Log::debug(sprintf('Start with amount "%s"', $value));$len = strlen($value);$decimalPosition = $len - 3;