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

This commit is contained in:
rabuzarus 2018-05-25 08:44:01 +02:00
부모 e814e805c5
커밋 8174bfeb2b
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제

파일 보기

@ -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;
}