Small corrections

This commit is contained in:
Michael 2017-11-08 06:43:20 +00:00
parent 76f73c7236
commit 76caf7a9cf
2 changed files with 4 additions and 4 deletions

View file

@ -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);

View file

@ -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) {