This commit is contained in:
the-djmaze 2023-02-09 20:53:52 +01:00
parent 1fb3a26bd7
commit 298c0ac866

View file

@ -13,7 +13,7 @@ trait Themes
&& ($oAccount = $this->getAccountFromToken(false))
&& $this->GetCapa(\RainLoop\Enumerations\Capa::THEMES)
&& ($oSettingsLocal = $this->SettingsProvider(true)->Load($oAccount))) {
$sTheme = (string) $oSettingsLocal->GetConf('Theme', $sTheme);
$sTheme = $this->ValidateTheme((string) $oSettingsLocal->GetConf('Theme', $sTheme)) ?: $sTheme;
}
$sTheme = $this->ValidateTheme($sTheme) ?: 'Default';
}