Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix type errors
James Cole9c920908a620
diff --git a/app/Services/Internal/Support/AccountServiceTrait.php b/app/Services/Internal/Support/AccountServiceTrait.phpindex 77f9e08b4d..6f8f18ac90 100644--- a/app/Services/Internal/Support/AccountServiceTrait.php+++ b/app/Services/Internal/Support/AccountServiceTrait.php@@ -660,7 +660,8 @@ trait AccountServiceTrait// submit to factory:$submission = ['group_title' => null,- 'user' => $account->user_id,+ 'user' => $account->user,+ 'user_group' => $account->user->userGroup,'transactions' => [['type' => 'Opening balance',@@ -669,7 +670,8 @@ trait AccountServiceTrait'source_name' => $sourceName,'destination_id' => $destId,'destination_name' => $destName,- 'user' => $account->user_id,+ 'user' => $account->user,+ 'user_group' => $account->user->userGroup,'currency_id' => $currency->id,'order' => 0,'amount' => $amount,