aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template/twig/tokenparser
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/template/twig/tokenparser')
-rw-r--r--phpBB/includes/template/twig/tokenparser/includejs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/template/twig/tokenparser/includejs.php b/phpBB/includes/template/twig/tokenparser/includejs.php
index efa8692f4b..0b46f315d2 100644
--- a/phpBB/includes/template/twig/tokenparser/includejs.php
+++ b/phpBB/includes/template/twig/tokenparser/includejs.php
@@ -23,7 +23,7 @@ class phpbb_template_twig_tokenparser_includejs extends Twig_TokenParser
$stream = $this->parser->getStream();
$stream->expect(Twig_Token::BLOCK_END_TYPE);
- return new phpbb_template_twig_node_includejs($expr, $token->getLine(), $this->getTag());
+ return new phpbb_template_twig_node_includejs($expr, $this->parser->getEnvironment(), $token->getLine(), $this->getTag());
}
/**