diff options
| author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-01 21:16:36 -0500 |
|---|---|---|
| committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-01 21:16:36 -0500 |
| commit | 8f303b376b5677bb0203c6ffae9c8c456cf1e075 (patch) | |
| tree | 4ccf75c838bc9ca063e6a547b043de1fe9a71246 /phpBB/includes | |
| parent | 1c7e077fea245448315068bc724d852d2c9b087e (diff) | |
| download | forums-8f303b376b5677bb0203c6ffae9c8c456cf1e075.tar forums-8f303b376b5677bb0203c6ffae9c8c456cf1e075.tar.gz forums-8f303b376b5677bb0203c6ffae9c8c456cf1e075.tar.bz2 forums-8f303b376b5677bb0203c6ffae9c8c456cf1e075.tar.xz forums-8f303b376b5677bb0203c6ffae9c8c456cf1e075.zip | |
[feature/twig] Don't forget to set the context when rendering!
PHPBB3-11598
Diffstat (limited to 'phpBB/includes')
| -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 496c0b21a8..6b0771f77b 100644 --- a/phpBB/includes/template/twig/twig.php +++ b/phpBB/includes/template/twig/twig.php @@ -305,7 +305,7 @@ class phpbb_template_twig implements phpbb_template { if ($return_content) { - return $this->twig->render($this->get_filename_from_handle($handle)); + return $this->twig->render($this->get_filename_from_handle($handle), $this->get_template_vars()); } $this->assign_var($template_var, $this->twig->render($this->get_filename_from_handle($handle, $this->get_template_vars()))); |
