diff --git a/mod/admin.php b/mod/admin.php index 08c732c6e..9ccba4e0f 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 29fec2c37..2aaf3af50 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) {