From 3079d0b1fef735c7486d9c952f869671b6ff808e Mon Sep 17 00:00:00 2001 From: diosmosis Date: Mon, 28 Oct 2013 18:20:21 -0400 Subject: Fix bug in cliend side translation string loading. --- core/Twig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Twig.php') diff --git a/core/Twig.php b/core/Twig.php index edb037623f..9bc2447561 100644 --- a/core/Twig.php +++ b/core/Twig.php @@ -79,7 +79,7 @@ class Twig { $getJavascriptTranslations = new Twig_SimpleFunction( 'getJavascriptTranslations', - array('Translate', 'getJavascriptTranslations') + array('Piwik\\Translate', 'getJavascriptTranslations') ); $this->twig->addFunction($getJavascriptTranslations); } -- cgit v1.2.3