From 76caf7a9cff7ad3a64066a774a6f1b5064a1cfe8 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 8 Nov 2017 06:43:20 +0000 Subject: [PATCH] Small corrections --- mod/admin.php | 2 +- view/theme/quattro/style.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mod/admin.php b/mod/admin.php index 08c732c6ed..9ccba4e0f9 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -2234,7 +2234,7 @@ function admin_page_features_post(App $a) { } else { $val = 0; } - Config::set('feature',$feature,$val); + Config::set('feature', $feature, $val); if (x($_POST, $featurelock)) { Config::set('feature_lock', $feature, $val); diff --git a/view/theme/quattro/style.php b/view/theme/quattro/style.php index 29fec2c37a..2aaf3af508 100644 --- a/view/theme/quattro/style.php +++ b/view/theme/quattro/style.php @@ -7,12 +7,12 @@ $color = false; $quattro_align = false; - $site_color = Config::get("quattro", "color", "dark); + $site_color = Config::get("quattro", "color", "dark"); $site_quattro_align = Config::get("quattro", "align", false); if ($uid) { - $color = PConfig::get($uid, "quattro", "color"); - $quattro_align = PConfig::get($uid, 'quattro', 'align'); + $color = PConfig::get($uid, "quattro", "color", false); + $quattro_align = PConfig::get($uid, 'quattro', 'align', false); } if ($color === false) {