mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/twig] Use twig->display rather than echo twig->render
PHPBB3-11598
This commit is contained in:
parent
3bd281fa27
commit
4881085f13
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ class phpbb_template_twig implements phpbb_template
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
echo $this->twig->render($this->locator->get_filename_for_handle($handle), $this->get_template_vars());
|
$this->twig->display($this->locator->get_filename_for_handle($handle), $this->get_template_vars());
|
||||||
}
|
}
|
||||||
catch (Twig_Error $e)
|
catch (Twig_Error $e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue