Make the RichEditor obey the new session overrides for language settings. Fixes bug #11443.
This commit is contained in:
parent
eea83d571e
commit
beb1337373
2 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
|||
- fixed #11446: Delete a wiki
|
||||
- fixed #11401: Remove hacks in Asset::Wobject::Weather
|
||||
- fixed #11449: List of macros in my config file has HASH(0x45223ab3) entry
|
||||
- fixed #11443: no language switch in rich edit
|
||||
|
||||
7.8.13
|
||||
- fixed #11418: confusing typ-o in gotcha
|
||||
|
|
|
|||
|
|
@ -562,7 +562,7 @@ sub getRichEditor {
|
|||
$config{theme_advanced_source_editor_height} = $self->getValue("sourceEditorHeight") if ($self->getValue("sourceEditorHeight") > 0);
|
||||
}
|
||||
}
|
||||
my $language = $i18n->getLanguage($self->session->user->profileField("language"),"languageAbbreviation");
|
||||
my $language = $i18n->getLanguage('' ,"languageAbbreviation");
|
||||
unless ($language) {
|
||||
$language = $i18n->getLanguage("English","languageAbbreviation");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue