Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-04-08 04:30:25 +0400
committermattab <matthieu.aubry@gmail.com>2014-04-08 04:30:25 +0400
commite0041ed7b429659cd9fb89da037452113eb751a3 (patch)
treeaa2d23b86287c5fb2a334aa58d77d506d6826c8d /core/AssetManager.php
parentfe887785cdc82cb1de70edae2385b670e0252752 (diff)
Refs #4961 Another fix. Let me know if you still see notices/warnings related to this
Diffstat (limited to 'core/AssetManager.php')
-rw-r--r--core/AssetManager.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/AssetManager.php b/core/AssetManager.php
index 8868cab18e..2b790c2166 100644
--- a/core/AssetManager.php
+++ b/core/AssetManager.php
@@ -71,8 +71,10 @@ class AssetManager extends Singleton
$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();
+ }
}
/**