diff --git a/view/theme/frio/style.php b/view/theme/frio/style.php index 76cbb97776..041f890e29 100644 --- a/view/theme/frio/style.php +++ b/view/theme/frio/style.php @@ -65,12 +65,13 @@ if (! $schema) { //Set some defaults - we have to do this after pulling owner settings, and we have to check for each setting //individually. If we don't, we'll have problems if a user has set one, but not all options. -$nav_bg = (empty($nav_bg) ? "#708fa0" : $nav_bg); -$nav_icon_color = (empty($nav_icon_color) ? "#fff" : $nav_icon_color); -$link_color = (empty($link_color) ? "#6fdbe8" : $link_color); -$bgcolor = (empty($bgcolor) ? "#ededed" : $bgcolor); -$background_image = (empty($background_image) ? '' : $background_image); -$modified = (empty($modified) ? time() : $modified); +$nav_bg = (empty($nav_bg) ? "#708fa0" : $nav_bg); +$nav_icon_color = (empty($nav_icon_color) ? "#fff" : $nav_icon_color); +$link_color = (empty($link_color) ? "#6fdbe8" : $link_color); +$bgcolor = (empty($bgcolor) ? "#ededed" : $bgcolor); +// The background image can not be empty. So we use a dummy jpg if no image was set. +$background_image = (empty($background_image) ? 'img/none.jpg' : $background_image); +$modified = (empty($modified) ? time() :$modified); $contentbg_transp = ((isset($contentbg_transp) && $contentbg_transp != "") ? $contentbg_transp : 100);