aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2016-02-05 21:21:41 +0100
committerTristan Darricau <tristan.darricau@sensiolabs.com>2016-02-18 17:30:31 +0100
commitf253a853b8381a343f98c29bb399c8128695b696 (patch)
treeb6022d1459a431a1f429858b4c51a65838c95853 /phpBB/phpbb/template
parentd34ffda9c1a8ac4354e6fd6cb05124de66d87f71 (diff)
downloadforums-f253a853b8381a343f98c29bb399c8128695b696.tar
forums-f253a853b8381a343f98c29bb399c8128695b696.tar.gz
forums-f253a853b8381a343f98c29bb399c8128695b696.tar.bz2
forums-f253a853b8381a343f98c29bb399c8128695b696.tar.xz
forums-f253a853b8381a343f98c29bb399c8128695b696.zip
[ticket/14457] Fix twig/twig::assign_display
PHPBB3-14457
Diffstat (limited to 'phpBB/phpbb/template')
-rw-r--r--phpBB/phpbb/template/twig/twig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/template/twig/twig.php b/phpBB/phpbb/template/twig/twig.php
index 6b3cf32bc8..f322778eda 100644
--- a/phpBB/phpbb/template/twig/twig.php
+++ b/phpBB/phpbb/template/twig/twig.php
@@ -335,7 +335,7 @@ class twig extends \phpbb\template\base
return $this->twig->render($this->get_filename_from_handle($handle), $this->get_template_vars());
}
- $this->assign_var($template_var, $this->twig->render($this->get_filename_from_handle($handle, $this->get_template_vars())));
+ $this->assign_var($template_var, $this->twig->render($this->get_filename_from_handle($handle), $this->get_template_vars()));
return $this;
}