]> git.mxchange.org Git - friendica.git/commitdiff
Using global $nav_bg if undefined
authorJeroen De Meerleer <me@jeroened.be>
Wed, 10 Jul 2019 14:51:18 +0000 (16:51 +0200)
committerJeroen De Meerleer <me@jeroened.be>
Wed, 10 Jul 2019 14:51:18 +0000 (16:51 +0200)
view/theme/frio/php/default.php

index b297fcb48174629de382d2609c542ec5835e8039..231e92a242a0361d824e4d3c82a256b5ee523c8f 100644 (file)
@@ -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";
                }