aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-13 10:32:36 +0000
committerMario <mario@mariovavti.com>2022-01-13 10:32:36 +0000
commitf8b8d8c5400983125c94fda47b99933a37f8961c (patch)
tree8bb5baac5569f23b83341267032a972f97d875e3
parent57ff6674384e7d6a18f505fdf51232f42b75cc72 (diff)
downloadvolse-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.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 16b81c3d0..82cdf6f8f 100644
--- a/boot.php
+++ b/boot.php
@@ -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'];