Fixes errors/notices

This commit is contained in:
Michael 2019-03-17 22:13:17 +00:00
parent ab61a7a902
commit 2cdd5a4940
2 changed files with 7 additions and 3 deletions

View file

@ -53,7 +53,7 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser";
$nav_bg = PConfig::get($uid, 'frio', 'nav_bg');
}
if (empty($nav_bg)) {
if (empty($nav_bg) || !is_string($nav_bg)) {
$nav_bg = "#708fa0";
}