aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/template/twig/twig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/template/twig/twig.php b/phpBB/includes/template/twig/twig.php
index d0b8d2eda1..92eeb6d913 100644
--- a/phpBB/includes/template/twig/twig.php
+++ b/phpBB/includes/template/twig/twig.php
@@ -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)
{