summaryrefslogtreecommitdiffstats
path: root/inc/render.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/render.inc.php')
-rw-r--r--inc/render.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/render.inc.php b/inc/render.inc.php
index 3d5b3864..1b45535d 100644
--- a/inc/render.inc.php
+++ b/inc/render.inc.php
@@ -163,7 +163,8 @@ class Render
*/
public static function parse($template, $params = false)
{
- $dictionary = Dictionary::getArray();
+ $dictionary = Dictionary::getArrayTemplate($template);
+ //$dictionary = Dictionary::getArray();
if (is_array($params) || $params === false || is_null($params))
$params['token'] = Session::get('token');
return self::$mustache->render(self::getTemplate($template), array_merge($dictionary,$params));