diff --git a/view/theme/frio/config.php b/view/theme/frio/config.php index 13ab78477c..8bab362ff9 100644 --- a/view/theme/frio/config.php +++ b/view/theme/frio/config.php @@ -15,14 +15,14 @@ function theme_post(App $a) } if (isset($_POST['frio-settings-submit'])) { - PConfig::set(local_user(), 'frio', 'scheme', defaults($_POST, 'frio_scheme')); - PConfig::set(local_user(), 'frio', 'nav_bg', defaults($_POST, 'frio_nav_bg')); - PConfig::set(local_user(), 'frio', 'nav_icon_color', defaults($_POST, 'frio_nav_icon_color')); - PConfig::set(local_user(), 'frio', 'link_color', defaults($_POST, 'frio_link_color')); - PConfig::set(local_user(), 'frio', 'background_color', defaults($_POST, 'frio_background_color')); - PConfig::set(local_user(), 'frio', 'contentbg_transp', defaults($_POST, 'frio_contentbg_transp')); - PConfig::set(local_user(), 'frio', 'background_image', defaults($_POST, 'frio_background_image')); - PConfig::set(local_user(), 'frio', 'bg_image_option', defaults($_POST, 'frio_bg_image_option')); + PConfig::set(local_user(), 'frio', 'scheme', defaults($_POST, 'frio_scheme', '')); + PConfig::set(local_user(), 'frio', 'nav_bg', defaults($_POST, 'frio_nav_bg', '')); + PConfig::set(local_user(), 'frio', 'nav_icon_color', defaults($_POST, 'frio_nav_icon_color', '')); + PConfig::set(local_user(), 'frio', 'link_color', defaults($_POST, 'frio_link_color', '')); + PConfig::set(local_user(), 'frio', 'background_color', defaults($_POST, 'frio_background_color', '')); + PConfig::set(local_user(), 'frio', 'contentbg_transp', defaults($_POST, 'frio_contentbg_transp', '')); + PConfig::set(local_user(), 'frio', 'background_image', defaults($_POST, 'frio_background_image', '')); + PConfig::set(local_user(), 'frio', 'bg_image_option', defaults($_POST, 'frio_bg_image_option', '')); PConfig::set(local_user(), 'frio', 'css_modified', time()); } }