Skip to content

Firefly III: a personal finances manager

Found a bug in the import routine where "default accounts" (an account type no longer used by default) is found.

James Colea1cef5c33942
diff --git a/app/Import/ImportValidator.php b/app/Import/ImportValidator.php
index 20705ca605..d6d15d3ed2 100644
--- a/app/Import/ImportValidator.php
+++ b/app/Import/ImportValidator.php
@@ -416,6 +416,7 @@ class ImportValidator
Log::debug('Transaction type is now deposit.');
return $entry;
+ case AccountType::DEFAULT:
case AccountType::ASSET:
$entry->fields['transaction-type'] = TransactionType::whereType(TransactionType::TRANSFER)->first();
Log::debug('Transaction type is now transfer.');