diff options
| author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-06-24 11:19:54 -0500 |
|---|---|---|
| committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-06-24 11:19:54 -0500 |
| commit | 4881085f13f0b10636bf11f846f86562c1e6bfc9 (patch) | |
| tree | 6146f1a0d546a074395bc14448c3647e06f202b3 | |
| parent | 3bd281fa2784048e29c6004b90bcd203733e4e32 (diff) | |
| download | forums-4881085f13f0b10636bf11f846f86562c1e6bfc9.tar forums-4881085f13f0b10636bf11f846f86562c1e6bfc9.tar.gz forums-4881085f13f0b10636bf11f846f86562c1e6bfc9.tar.bz2 forums-4881085f13f0b10636bf11f846f86562c1e6bfc9.tar.xz forums-4881085f13f0b10636bf11f846f86562c1e6bfc9.zip | |
[feature/twig] Use twig->display rather than echo twig->render
PHPBB3-11598
| -rw-r--r-- | phpBB/includes/template/twig/twig.php | 2 |
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) { |
