[ticket/14457] Fix twig/twig::assign_display

PHPBB3-14457
This commit is contained in:
Tristan Darricau 2016-02-05 21:21:41 +01:00
parent d34ffda9c1
commit f253a853b8

View file

@ -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;
}