fixed language selection
This commit is contained in:
parent
203f5f25d6
commit
bc9019d9b9
|
@ -291,7 +291,6 @@ if(!empty($possibleLanguages)) {
|
||||||
$languages[$lang->description] = $lang->code;
|
$languages[$lang->description] = $lang->code;
|
||||||
if (strpos($conf->get_defaultLanguage(), $lang->code) === 0) {
|
if (strpos($conf->get_defaultLanguage(), $lang->code) === 0) {
|
||||||
$defaultLanguage = array($lang->code);
|
$defaultLanguage = array($lang->code);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$languageSelect = new htmlTableExtendedSelect('lang', $languages, $defaultLanguage, _("Default language"), '209');
|
$languageSelect = new htmlTableExtendedSelect('lang', $languages, $defaultLanguage, _("Default language"), '209');
|
||||||
|
|
Loading…
Reference in New Issue