Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Add missing method.
James Cole6f13600fb58c
diff --git a/app/Http/Controllers/NewUserController.php b/app/Http/Controllers/NewUserController.phpindex 3a2d8e8680..de2beda01a 100644--- a/app/Http/Controllers/NewUserController.php+++ b/app/Http/Controllers/NewUserController.php@@ -104,7 +104,7 @@ class NewUserController extends Controller// if is null, set to EUR:if (null === $currency) {- $currency = $currencyRepository->findByCodeNull('EUR');+ $currency = $currencyRepository->findByCode('EUR');}$currencyRepository->enable($currency);diff --git a/app/Repositories/Budget/BudgetRepository.php b/app/Repositories/Budget/BudgetRepository.phpindex ad98dae7cc..069a204e4d 100644--- a/app/Repositories/Budget/BudgetRepository.php+++ b/app/Repositories/Budget/BudgetRepository.php@@ -435,7 +435,7 @@ class BudgetRepository implements BudgetRepositoryInterface$currencyCode = (string)($data['currency_code'] ?? '');$currency = $repos->find($currencyId);if (null === $currency) {- $currency = $repos->findByCodeNull($currencyCode);+ $currency = $repos->findByCode($currencyCode);}if (null !== $currency) {$autoBudget->transaction_currency_id = $currency->id;diff --git a/changelog.md b/changelog.mdindex 5719df164e..f93a900746 100644--- a/changelog.md+++ b/changelog.md@@ -3,6 +3,12 @@All notable changes to this project will be documented in this file.This project adheres to [Semantic Versioning](http://semver.org/).+## 6.0.30 - 2023-10-29++### Fixed++- Missing method after refactoring.+## 6.0.29 - 2023-10-29### Fixeddiff --git a/config/firefly.php b/config/firefly.phpindex 497467cff1..26ba1bd4d3 100644--- a/config/firefly.php+++ b/config/firefly.php@@ -112,7 +112,7 @@ return ['handle_debts' => true,// see cer.php for exchange rates feature flag.],- 'version' => '6.0.29',+ 'version' => '6.0.30','api_version' => '2.0.11','db_version' => 21,