]> git.mxchange.org Git - friendica.git/commitdiff
Small corrections
authorMichael <heluecht@pirati.ca>
Wed, 8 Nov 2017 06:43:20 +0000 (06:43 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 8 Nov 2017 06:43:20 +0000 (06:43 +0000)
mod/admin.php
view/theme/quattro/style.php

index 08c732c6edbf56add54c85e5cbaee37ee97b801c..9ccba4e0f9e821c3731379aa35e957a162a7faae 100644 (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);
index 29fec2c37a503e4dffb9fe5770f779a21b2d242f..2aaf3af50894b74103e44d25340ac293caf27e81 100644 (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) {