Merge pull request #1725 from alprs/fix-settings_localization_error

Fix a PHP error in settings -> localization
This commit is contained in:
James Brooks 2016-04-27 08:56:56 +01:00
commit b78009bee4

View File

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