mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20:16 +00:00
Account for $nav_bg not being set in frio/php/default
- Address https://github.com/friendica/friendica/issues/8877#issuecomment-677319560
This commit is contained in:
parent
9cff999974
commit
7c16a25fc9
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser";
|
|||
}
|
||||
}
|
||||
|
||||
$nav_bg = $nav_bg ?: DI::pConfig()->get($uid, 'frio', 'nav_bg', DI::config()->get('frio', 'nav_bg', '#708fa0'));
|
||||
$nav_bg = $nav_bg ?? DI::pConfig()->get($uid, 'frio', 'nav_bg', DI::config()->get('frio', 'nav_bg', '#708fa0'));
|
||||
|
||||
echo '<meta name="theme-color" content="' . $nav_bg . '" />';
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue