diff options
author | Julien Moumné <julien@piwik.org> | 2013-12-17 20:52:36 +0400 |
---|---|---|
committer | Julien Moumné <julien@piwik.org> | 2013-12-17 20:52:36 +0400 |
commit | 6624e27e575d6056da7881bc05e9972c50ec1128 (patch) | |
tree | 06bec63f550d16ccc8a428d40a79604496ce0985 /core/Twig.php | |
parent | 5d44202fb79a9b2aa70b00ec88fd316f83a440b0 (diff) |
fixes #4373, #1640
Diffstat (limited to 'core/Twig.php')
-rw-r--r-- | core/Twig.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Twig.php b/core/Twig.php index 69a6501d90..3f15148985 100644 --- a/core/Twig.php +++ b/core/Twig.php @@ -104,9 +104,9 @@ class Twig $assetType = strtolower($params['type']); switch ($assetType) { case 'css': - return AssetManager::getCssAssets(); + return AssetManager::getInstance()->getCssInclusionDirective(); case 'js': - return AssetManager::getJsAssets(); + return AssetManager::getInstance()->getJsInclusionDirective(); default: throw new Exception("The twig function includeAssets 'type' parameter needs to be either 'css' or 'js'."); } |