mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[feature/twig] Use twig->display rather than echo twig->render
PHPBB3-11598
This commit is contained in:
@@ -238,7 +238,7 @@ class phpbb_template_twig implements phpbb_template
|
||||
|
||||
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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user