Bugfix: compute the current theme each time we want to know which theme is beeing used
This commit is contained in:
@@ -1095,9 +1095,10 @@ class App
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$this->current_theme) {
|
//// @TODO Compute the current theme only once (this behavior has
|
||||||
$this->computeCurrentTheme();
|
/// already been implemented, but it didn' work well -
|
||||||
}
|
/// https://github.com/friendica/friendica/issues/5092)
|
||||||
|
$this->computeCurrentTheme();
|
||||||
|
|
||||||
return $this->current_theme;
|
return $this->current_theme;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user