1
0
Fork 0

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:
Hypolite Petovan 2020-08-20 09:21:44 -04:00
parent 9cff999974
commit 7c16a25fc9

View file

@ -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 . '" />';
?>