fix camelCase for localesForLanguage

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
pull/5623/head
Georg Ehrke 7 years ago
parent 3ffeb4ae06
commit 51a35c23f6
No known key found for this signature in database
GPG Key ID: 9D98FD9380A1CB43
  1. 2
      lib/private/Settings/Personal/PersonalInfo.php
  2. 2
      settings/templates/settings/personal/personal.info.php

@ -251,7 +251,7 @@ class PersonalInfo implements ISettings {
'activelocaleLang' => $userLocaleString,
'activelocale' => $userLocale,
'locales' => $localeCodes,
'localesforlanguage' => $localesForLanguage,
'localesForLanguage' => $localesForLanguage,
];
}

@ -351,7 +351,7 @@ vendor_style('jcrop/css/jquery.Jcrop');
<?php p($_['activelocale']['name']);?>
</option>
<optgroup label="––––––––––"></optgroup>
<?php foreach($_['localesforlanguage'] as $locale):?>
<?php foreach($_['localesForLanguage'] as $locale):?>
<option value="<?php p($locale['code']);?>">
<?php p($locale['name']);?>
</option>

Loading…
Cancel
Save