Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Possible bug in account create thing. [skip ci]
James Colee774ebd0a32f
diff --git a/app/Models/Account.php b/app/Models/Account.phpindex d0c0d7c6cd..2712aef197 100644--- a/app/Models/Account.php+++ b/app/Models/Account.php@@ -51,7 +51,8 @@ class Account extends Model$account = Account::create($fields);if (is_null($account->id)) {// could not create account:- App::abort(500, 'Could not create new account with data: ' . json_encode($fields));+ App::abort(500, 'Could not create new account with data: ' . json_encode($fields).' because ' . json_encode($account->getErrors()));+}