Skip to content

Commit 20f244c

Browse files
committed
Fix locale select
1 parent 3a2a9ed commit 20f244c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [5.1.5](https://github.com/userfrosting/sprinkle-admin/compare/5.1.4...5.1.5)
9+
- Fix locale select
10+
811
## [5.1.4](https://github.com/userfrosting/sprinkle-admin/compare/5.1.3...5.1.4)
912
- Add PHP 8.4 support & tests
1013

app/src/Controller/User/UserEditModal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ protected function handle(UserInterface $user): array
9595
$groups = $this->groupModel::all();
9696

9797
// Get a list of all locales
98-
$locales = $this->siteLocale->getAvailableIdentifiers();
98+
$locales = $this->siteLocale->getAvailableOptions();
9999

100100
// Generate form
101101
$fields = [

0 commit comments

Comments
 (0)