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
|
@ -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 New Issue
Block a user