diff options
Diffstat (limited to 'core/AssetManager.php')
-rw-r--r-- | core/AssetManager.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/AssetManager.php b/core/AssetManager.php index 7abcf51ccc..455c183615 100644 --- a/core/AssetManager.php +++ b/core/AssetManager.php @@ -68,12 +68,13 @@ class AssetManager extends Singleton public function __construct() { $this->cacheBuster = UIAssetCacheBuster::getInstance(); - $this->minimalStylesheetFetcher = new StaticUIAssetFetcher(array(), array(), $this->theme); $theme = Manager::getInstance()->getThemeEnabled(); if (!empty($theme)) { $this->theme = new Theme(); } + + $this->minimalStylesheetFetcher = new StaticUIAssetFetcher(array(), array(), $this->theme); } /** |