Add missing method.

This commit is contained in:
James Cole
2023-10-28 18:18:12 +02:00
parent c9fefcd8f4
commit 6f13600fb5
4 changed files with 9 additions and 3 deletions

View File

@@ -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);