diff --git a/CHANGELOG.md b/CHANGELOG.md index ee8b7f6e04..424e0bafb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ HumHub Changelog - Fix #6674: Fix visibility of draft and scheduled content on dashboard - Fix #6679: On the space invitation by link page, the language chooser doesn't save the selected language - Fix #6677: Do not check mobile push module in requirements check on installation +- Fix #6700: Reload theme variable `@baseTheme` after flushing cache 1.15.0 (November 6, 2023) -------------------------------- diff --git a/protected/humhub/modules/admin/controllers/SettingController.php b/protected/humhub/modules/admin/controllers/SettingController.php index e168cc0c41..53395e6e98 100644 --- a/protected/humhub/modules/admin/controllers/SettingController.php +++ b/protected/humhub/modules/admin/controllers/SettingController.php @@ -129,7 +129,7 @@ class SettingController extends Controller if ($form->load(Yii::$app->request->post()) && $form->validate() && $form->save()) { Yii::$app->cache->flush(); Yii::$app->assetManager->clear(); - Yii::$app->view->theme->variables->flushCache(); + Yii::$app->view->theme->activate(); $this->view->success(Yii::t('AdminModule.settings', 'Saved and flushed cache')); return $this->redirect(['/admin/setting/caching']); }