mirror of
https://github.com/friendica/friendica
synced 2024-12-23 10:40:16 +00:00
Using global $nav_bg if undefined
This commit is contained in:
parent
1b2b2259b1
commit
9b7b718b43
1 changed files with 4 additions and 0 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