1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 01:36:57 +02:00

Merge branch '3.2.x'

This commit is contained in:
Marc Alexander
2017-04-16 19:41:19 +02:00
12 changed files with 49 additions and 5 deletions

View File

@@ -656,7 +656,7 @@ class messenger
*/
protected function setup_template()
{
global $phpbb_container;
global $phpbb_container, $phpbb_dispatcher;
if ($this->template instanceof \phpbb\template\template)
{
@@ -671,7 +671,9 @@ class messenger
$phpbb_container->get('ext.manager'),
new \phpbb\template\twig\loader(
$phpbb_container->get('filesystem')
)
),
$phpbb_dispatcher,
array()
);
$template_environment->setLexer($phpbb_container->get('template.twig.lexer'));