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
|
@ -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 . '" />';
|
echo '<meta name="theme-color" content="' . $nav_bg . '" />';
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue