Skip to content

Commit

Permalink
Refs #4961 Another fix. Let me know if you still see notices/warnings…
Browse files Browse the repository at this point in the history
… related to this
  • Loading branch information
mattab committed Apr 8, 2014
1 parent fe88778 commit e0041ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/AssetManager.php
Expand Up @@ -71,8 +71,10 @@ function __construct()
$this->cacheBuster = UIAssetCacheBuster::getInstance();
$this->minimalStylesheetFetcher = new StaticUIAssetFetcher(array('plugins/Zeitgeist/stylesheets/base.less'), array(), $this->theme);

if(Manager::getInstance()->getThemeEnabled() != null)
$theme = Manager::getInstance()->getThemeEnabled();
if(!empty($theme)) {
$this->theme = new Theme();
}
}

/**
Expand Down

0 comments on commit e0041ed

Please sign in to comment.