Browse Source

Bugfix: compute the current theme each time we want to know which theme is beeing used

tags/2018.05
rabuzarus 2 years ago
parent
commit
8174bfeb2b
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      src/App.php

+ 4
- 3
src/App.php View 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;
}


Loading…
Cancel
Save