1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[ticket/14990] Fix event name, email parsing, installer and dispatcher calls

PHPBB3-14990
This commit is contained in:
rxu
2017-01-11 23:53:12 +07:00
parent 633bbc9c6d
commit 1ea114ca20
4 changed files with 25 additions and 17 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')
)
),
array(),
$phpbb_dispatcher
);
$template_environment->setLexer($phpbb_container->get('template.twig.lexer'));