mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-11-03 20:55:05 +00:00 
			
		
		
		
	Add missing method.
This commit is contained in:
		@@ -104,7 +104,7 @@ class NewUserController extends Controller
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        // if is null, set to EUR:
 | 
					        // if is null, set to EUR:
 | 
				
			||||||
        if (null === $currency) {
 | 
					        if (null === $currency) {
 | 
				
			||||||
            $currency = $currencyRepository->findByCodeNull('EUR');
 | 
					            $currency = $currencyRepository->findByCode('EUR');
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        $currencyRepository->enable($currency);
 | 
					        $currencyRepository->enable($currency);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -435,7 +435,7 @@ class BudgetRepository implements BudgetRepositoryInterface
 | 
				
			|||||||
            $currencyCode = (string)($data['currency_code'] ?? '');
 | 
					            $currencyCode = (string)($data['currency_code'] ?? '');
 | 
				
			||||||
            $currency     = $repos->find($currencyId);
 | 
					            $currency     = $repos->find($currencyId);
 | 
				
			||||||
            if (null === $currency) {
 | 
					            if (null === $currency) {
 | 
				
			||||||
                $currency = $repos->findByCodeNull($currencyCode);
 | 
					                $currency = $repos->findByCode($currencyCode);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            if (null !== $currency) {
 | 
					            if (null !== $currency) {
 | 
				
			||||||
                $autoBudget->transaction_currency_id = $currency->id;
 | 
					                $autoBudget->transaction_currency_id = $currency->id;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,6 +3,12 @@
 | 
				
			|||||||
All notable changes to this project will be documented in this file.
 | 
					All notable changes to this project will be documented in this file.
 | 
				
			||||||
This project adheres to [Semantic Versioning](http://semver.org/).
 | 
					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
 | 
					## 6.0.29 - 2023-10-29
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Fixed
 | 
					### Fixed
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -112,7 +112,7 @@ return [
 | 
				
			|||||||
        'handle_debts' => true,
 | 
					        'handle_debts' => true,
 | 
				
			||||||
        // see cer.php for exchange rates feature flag.
 | 
					        // see cer.php for exchange rates feature flag.
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    'version'                      => '6.0.29',
 | 
					    'version'                      => '6.0.30',
 | 
				
			||||||
    'api_version'                  => '2.0.11',
 | 
					    'api_version'                  => '2.0.11',
 | 
				
			||||||
    'db_version'                   => 21,
 | 
					    'db_version'                   => 21,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user