Browse Source

Using global $nav_bg if undefined

pull/7361/head
Jeroen De Meerleer 2 years ago
parent
commit
9b7b718b43
  1. 4
      view/theme/frio/php/default.php

4
view/theme/frio/php/default.php

@ -53,6 +53,10 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser";
$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)) {
$nav_bg = "#708fa0";
}

Loading…
Cancel
Save