Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Don't trigger on empty ibans.
James Cole36157afc6a40
diff --git a/app/Console/Commands/Correction/FixIbans.php b/app/Console/Commands/Correction/FixIbans.phpindex 11678115ca..18edde5bbc 100644--- a/app/Console/Commands/Correction/FixIbans.php+++ b/app/Console/Commands/Correction/FixIbans.php@@ -73,6 +73,9 @@ class FixIbans extends Command$userId = (int)$account->user_id;$set[$userId] = $set[$userId] ?? [];$iban = (string)$account->iban;+ if('' === $iban) {+ continue;+ }$type = $account->accountType->type;if(in_array($type, [AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE], true)) {$type = 'liabilities';