aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template/twig/tokenparser
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-06-24 22:37:58 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-06-24 22:37:58 -0500
commit3ca99f8122c149a66f59dbf3c9884c095db7ad3c (patch)
tree9c7d28a32673b39fb1af9dc4af1ee845f44d0fa8 /phpBB/includes/template/twig/tokenparser
parent814d57d201d654ce0510ede5b43cfad6b06d372e (diff)
downloadforums-3ca99f8122c149a66f59dbf3c9884c095db7ad3c.tar
forums-3ca99f8122c149a66f59dbf3c9884c095db7ad3c.tar.gz
forums-3ca99f8122c149a66f59dbf3c9884c095db7ad3c.tar.bz2
forums-3ca99f8122c149a66f59dbf3c9884c095db7ad3c.tar.xz
forums-3ca99f8122c149a66f59dbf3c9884c095db7ad3c.zip
[feature/twig] Append assets_version to includejs tag
Some fixes for main template parser PHPBB3-11598
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());
}
/**