From 7c16a25fc9e2b9490da9120ed4d58e186a1e3917 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 20 Aug 2020 09:21:44 -0400 Subject: [PATCH] Account for $nav_bg not being set in frio/php/default - Address https://github.com/friendica/friendica/issues/8877#issuecomment-677319560 --- view/theme/frio/php/default.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/theme/frio/php/default.php b/view/theme/frio/php/default.php index ca661c283..949417ccf 100644 --- a/view/theme/frio/php/default.php +++ b/view/theme/frio/php/default.php @@ -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 ''; ?>