From 4881085f13f0b10636bf11f846f86562c1e6bfc9 Mon Sep 17 00:00:00 2001 From: Nathan Guse Date: Mon, 24 Jun 2013 11:19:54 -0500 Subject: [PATCH] [feature/twig] Use twig->display rather than echo twig->render PHPBB3-11598 --- phpBB/includes/template/twig/twig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {