mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #941
This commit is contained in:
parent
1fb3a26bd7
commit
298c0ac866
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ trait Themes
|
||||||
&& ($oAccount = $this->getAccountFromToken(false))
|
&& ($oAccount = $this->getAccountFromToken(false))
|
||||||
&& $this->GetCapa(\RainLoop\Enumerations\Capa::THEMES)
|
&& $this->GetCapa(\RainLoop\Enumerations\Capa::THEMES)
|
||||||
&& ($oSettingsLocal = $this->SettingsProvider(true)->Load($oAccount))) {
|
&& ($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';
|
$sTheme = $this->ValidateTheme($sTheme) ?: 'Default';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue