mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
Merge pull request #1725 from alprs/fix-settings_localization_error
Fix a PHP error in settings -> localization
This commit is contained in:
commit
b78009bee4
@ -64,9 +64,9 @@
|
||||
<label>{{ trans('forms.settings.localization.site-locale') }}</label>
|
||||
<select name="app_locale" class="form-control" required>
|
||||
<option value="">Select Language</option>
|
||||
@foreach($langs as $lang => $name)
|
||||
<option value="{{ $lang }}" @if($app_locale === $lang) selected @endif>
|
||||
{{ $name }}
|
||||
@foreach($langs as $key => $lang)
|
||||
<option value="{{ $key }}" @if($app_locale === $key) selected @endif>
|
||||
{{ $lang['name'] }}
|
||||
</option>
|
||||
@endforeach
|
||||
</select>
|
||||
|
Loading…
x
Reference in New Issue
Block a user