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:
@@ -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'));
|
||||
|
||||
|
Reference in New Issue
Block a user