diff options
Diffstat (limited to 'core/Twig.php')
-rw-r--r-- | core/Twig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Twig.php b/core/Twig.php index afb6a1cdc2..4a9200c691 100644 --- a/core/Twig.php +++ b/core/Twig.php @@ -240,7 +240,7 @@ class Twig { $getJavascriptTranslations = new Twig_SimpleFunction( 'getJavascriptTranslations', - array('Piwik\\Translate', 'getJavascriptTranslations') + array(StaticContainer::get('Piwik\Translation\Translator'), 'getJavascriptTranslations') ); $this->twig->addFunction($getJavascriptTranslations); } |