mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/14457] Fix twig/twig::assign_display
PHPBB3-14457
This commit is contained in:
parent
d34ffda9c1
commit
f253a853b8
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue