diff options
author | Mario <mario@mariovavti.com> | 2022-01-13 10:32:36 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-13 10:32:36 +0000 |
commit | f8b8d8c5400983125c94fda47b99933a37f8961c (patch) | |
tree | 8bb5baac5569f23b83341267032a972f97d875e3 | |
parent | 57ff6674384e7d6a18f505fdf51232f42b75cc72 (diff) | |
download | volse-hubzilla-f8b8d8c5400983125c94fda47b99933a37f8961c.tar.gz volse-hubzilla-f8b8d8c5400983125c94fda47b99933a37f8961c.tar.bz2 volse-hubzilla-f8b8d8c5400983125c94fda47b99933a37f8961c.zip |
make sure to fallback if local_channel and no nav_bg is set
-rw-r--r-- | boot.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1187,6 +1187,9 @@ class App { $interval = 80000; $theme_color = ((local_channel()) ? get_pconfig(local_channel(), 'redbasic', 'nav_bg') : App::$theme_info['theme_color']); + if (!$theme_color) { + $theme_color = App::$theme_info['theme_color']; + } if(! isset(self::$page['title']) && isset(self::$config['system']['sitename'])) self::$page['title'] = self::$config['system']['sitename']; |