Fix 3848: Error page does not use theme

This commit is contained in:
Lucas Bartholemy 2020-02-03 18:17:25 +01:00
parent d9a0d6d8fc
commit 0a03d894c1
2 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,9 @@ class ErrorController extends Controller
*/
public function actionIndex()
{
// Fix: https://github.com/humhub/humhub/issues/3848
Yii::$app->view->theme->register();
if (($exception = Yii::$app->getErrorHandler()->exception) === null) {
return '';
}

View File

@ -40,6 +40,7 @@ HumHub Change Log (DEVELOP)
- Fix: Settings cli rewrite dynamic config when required
- Fix #3806: Using `Receive notifications for new content` will not include the space to the notification setting view until settings are saved
- Enh: Added possibility to disable mail summary feature
- Fix 3848: Error page does not use theme
1.4.0-beta.2