mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
[ticket/14457] Fix twig/twig::assign_display
PHPBB3-14457
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user