From 29b73877a9c78221a37ba559c8045c07890dac0d Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Wed, 22 Aug 2018 06:14:16 +0200 Subject: [PATCH] Fix the settings in frio (#5650) --- view/theme/frio/config.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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()); } } -- 2.39.5