]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix: compute the current theme each time we want to know which theme is beeing...
authorrabuzarus <rabuzarus@t-online.de>
Fri, 25 May 2018 06:44:01 +0000 (08:44 +0200)
committerrabuzarus <rabuzarus@t-online.de>
Fri, 25 May 2018 06:44:01 +0000 (08:44 +0200)
src/App.php

index 655ea84f00d958008c6d7c8fffcf6d0ed8adb1a6..f93ae2b9f893da7a94927eb2a3b15a03168cd471 100644 (file)
@@ -1095,9 +1095,10 @@ class App
                        return '';
                }
 
-               if (!$this->current_theme) {
-                       $this->computeCurrentTheme();
-               }
+               //// @TODO Compute the current theme only once (this behavior has
+               /// already been implemented, but it didn' work well -
+               /// https://github.com/friendica/friendica/issues/5092)
+               $this->computeCurrentTheme();
 
                return $this->current_theme;
        }