1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/twig] Append assets_version to includejs tag

Some fixes for main template parser

PHPBB3-11598
This commit is contained in:
Nathaniel Guse
2013-06-24 22:37:58 -05:00
parent 814d57d201
commit 3ca99f8122
5 changed files with 49 additions and 12 deletions

View File

@@ -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());
}
/**