Merge pull request #7361 from JeroenED/bugfix/frio-header-color-php
[FRIO] fixing chromium mobile navbar color when not logged in
This commit is contained in:
commit
a06de3127f
1 changed files with 5 additions and 1 deletions
|
@ -53,6 +53,10 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser";
|
||||||
$nav_bg = PConfig::get($uid, 'frio', 'nav_bg');
|
$nav_bg = PConfig::get($uid, 'frio', 'nav_bg');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (empty($nav_bg)) {
|
||||||
|
$nav_bg = Config::get('frio', 'nav_bg');
|
||||||
|
}
|
||||||
|
|
||||||
if (empty($nav_bg) || !is_string($nav_bg)) {
|
if (empty($nav_bg) || !is_string($nav_bg)) {
|
||||||
$nav_bg = "#708fa0";
|
$nav_bg = "#708fa0";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue