mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°3936 - Fix designation of the default theme
This commit is contained in:
@@ -499,7 +499,7 @@ function GetThemeFieldBlock(): iUIBlock
|
||||
}
|
||||
|
||||
$bSelected = ($sCode === ThemeHandler::GetCurrentUserThemeId());
|
||||
if (true === $bSelected) {
|
||||
if ($sCode === MetaModel::GetConfig()->Get('backoffice_default_theme')) {
|
||||
$sLabel = Dict::Format('UI:Preferences:General:Theme:DefaultThemeLabel', $sLabel);
|
||||
}
|
||||
$oSelectInput->AddSubBlock(SelectOptionUIBlockFactory::MakeForSelectOption($sCode, $sLabel, $bSelected));
|
||||
|
||||
Reference in New Issue
Block a user