]> git.mxchange.org Git - friendica.git/blobdiff - doc/themes.md
Merge pull request #12050 from nupplaphil/bug/notf_session_fix
[friendica.git] / doc / themes.md
index e578d7f74338a0e471a68a5bc940890fc4d6b70b..60f4fdb96d288ca00417578bc9d149181dc4e86c 100644 (file)
@@ -123,7 +123,7 @@ The selected 1st part will be saved in the database by the theme_post function.
 
     function theme_post(App $a){
         // non local users shall not pass
-        if (! Session::getLocalUser()) {
+        if (!Session::getLocalUser()) {
             return;
         }
         // if the one specific submit button was pressed then proceed
@@ -137,7 +137,7 @@ Now that this information is set in the database, what should friendica do with
 For this, have a look at the theme.php file of the *duepunto zero*.
 There you'll find somethink alike
 
-        $colorset = DI::pConfig()->get( Session::getLocalUser(), 'duepuntozero','colorset');
+        $colorset = DI::pConfig()->get(Session::getLocalUser(), 'duepuntozero','colorset');
         if (!$colorset)
             $colorset = DI::config()->get('duepuntozero', 'colorset');
         if ($colorset) {