aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/twig/node/includeasset.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-10-29 16:07:48 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-10-29 16:07:48 +0100
commit5d4fccd235072b299fba0920e464a1a43fc0b91d (patch)
tree2c0c6eb779a3c0a5c1bf3d68d9da4396323f4176 /phpBB/phpbb/template/twig/node/includeasset.php
parentf4063e475dff62f68bdd4c813bf3450492abb3c1 (diff)
downloadforums-5d4fccd235072b299fba0920e464a1a43fc0b91d.tar
forums-5d4fccd235072b299fba0920e464a1a43fc0b91d.tar.gz
forums-5d4fccd235072b299fba0920e464a1a43fc0b91d.tar.bz2
forums-5d4fccd235072b299fba0920e464a1a43fc0b91d.tar.xz
forums-5d4fccd235072b299fba0920e464a1a43fc0b91d.zip
[ticket/15542] Always append assets versions to assets
PHPBB3-15542
Diffstat (limited to 'phpBB/phpbb/template/twig/node/includeasset.php')
-rw-r--r--phpBB/phpbb/template/twig/node/includeasset.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/template/twig/node/includeasset.php b/phpBB/phpbb/template/twig/node/includeasset.php
index 6d50eafc9d..27ac2e6aa2 100644
--- a/phpBB/phpbb/template/twig/node/includeasset.php
+++ b/phpBB/phpbb/template/twig/node/includeasset.php
@@ -50,9 +50,9 @@ abstract class includeasset extends \Twig_Node
->write("\$asset->set_path(\$local_file, true);\n")
->outdent()
->write("}\n")
- ->write("\$asset->add_assets_version('{$config['assets_version']}');\n")
->outdent()
->write("}\n")
+ ->write("\$asset->add_assets_version('{$config['assets_version']}');\n")
->write("\$this->getEnvironment()->get_assets_bag()->add_{$this->get_setters_name()}(\$asset);")
;
}