From: Michael Vogel Date: Wed, 22 Aug 2018 04:14:16 +0000 (+0200) Subject: Fix the settings in frio (#5650) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=29b73877a9c78221a37ba559c8045c07890dac0d;p=friendica.git Fix the settings in frio (#5650) --- 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()); } }