mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
BUGFIX Fixed Translatable::default_lang() call in CMSMain
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65515 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
df7092163f
commit
7e072ad785
@ -86,7 +86,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||||||
if(Translatable::is_enabled()) {
|
if(Translatable::is_enabled()) {
|
||||||
$spellcheckLangs = i18n::get_existing_content_languages();
|
$spellcheckLangs = i18n::get_existing_content_languages();
|
||||||
} else {
|
} else {
|
||||||
$defaultLang = Translatable::get_default_lang();
|
$defaultLang = Translatable::default_lang();
|
||||||
$spellcheckLangs = array($defaultLang => i18n::get_language_name($defaultLang));
|
$spellcheckLangs = array($defaultLang => i18n::get_language_name($defaultLang));
|
||||||
}
|
}
|
||||||
$spellcheckSpec = array();
|
$spellcheckSpec = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user