diff options
author | Nils Adermann <naderman@naderman.de> | 2013-09-10 15:43:33 +0200 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2013-09-16 00:39:38 +0200 |
commit | dc2f4a3663ef10e6d562426764db657caeb1f435 (patch) | |
tree | 10c52854df4b6ec72659ddcdeed2549f53607594 | |
parent | d122d84050e524e86f7261963c9be2be6573c36e (diff) | |
download | forums-dc2f4a3663ef10e6d562426764db657caeb1f435.tar forums-dc2f4a3663ef10e6d562426764db657caeb1f435.tar.gz forums-dc2f4a3663ef10e6d562426764db657caeb1f435.tar.bz2 forums-dc2f4a3663ef10e6d562426764db657caeb1f435.tar.xz forums-dc2f4a3663ef10e6d562426764db657caeb1f435.zip |
[ticket/11700] Avoid \t in double quoted strings for template code
PHPBB3-11700
-rw-r--r-- | phpBB/phpbb/template/twig/node/includeasset.php | 2 |
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 f5c6413617..3c899b96e8 100644 --- a/phpBB/phpbb/template/twig/node/includeasset.php +++ b/phpBB/phpbb/template/twig/node/includeasset.php @@ -35,7 +35,7 @@ class includeasset extends \Twig_Node ->write("\$asset_file = ") ->subcompile($this->getNode('expr')) ->raw(";\n") - ->write("\$asset = new \phpbb\template\asset(\$asset_file);\n") + ->write("\$asset = new \phpbb\\template\asset(\$asset_file);\n") ->write("if (substr(\$asset_file, 0, 2) !== './' && \$asset->is_relative()) {\n") ->indent() ->write("\$asset_path = \$asset->get_path();") |