]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/php/default.php
Added string creation
[friendica.git] / view / theme / frio / php / default.php
index 29d7ab53c1c4e4a78ffbfc06f8bd85a467f100ad..5eeb14c75f4512373a3abd31cf3b56f02306f7c6 100644 (file)
@@ -53,7 +53,7 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser";
                        $nav_bg = PConfig::get($uid, 'frio', 'nav_bg');
                }
 
-               if (empty($nav_bg)) {
+               if (empty($nav_bg) || !is_string($nav_bg)) {
                        $nav_bg = "#708fa0";
                }