[ticket/14661] Fix a typo in twig.php

PHPBB3-14661
This commit is contained in:
lavigor 2016-06-05 13:40:40 +03:00
parent b63c61d099
commit ff8b5058e0

View file

@ -350,7 +350,7 @@ class twig extends \phpbb\template\base
return $this->twig->render($this->get_filename_from_handle($handle), $this->get_template_vars()); 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()))); $this->assign_var($template_var, $this->twig->render($this->get_filename_from_handle($handle), $this->get_template_vars()));
return $this; return $this;
} }