aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-07-28 21:31:12 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-07-28 21:31:12 -0500
commit0215e0bd95104c628cf084e1be0df72b2752346c (patch)
tree30f7ae748ac8702ea5d5de2a53722e1f46bda56b /phpBB/phpbb/template
parentd5c56c5d503ea4b12852866e2d3b956e92a92aea (diff)
downloadforums-0215e0bd95104c628cf084e1be0df72b2752346c.tar
forums-0215e0bd95104c628cf084e1be0df72b2752346c.tar.gz
forums-0215e0bd95104c628cf084e1be0df72b2752346c.tar.bz2
forums-0215e0bd95104c628cf084e1be0df72b2752346c.tar.xz
forums-0215e0bd95104c628cf084e1be0df72b2752346c.zip
[ticket/11724] Replace spaces with tabs
PHPBB3-11724
Diffstat (limited to 'phpBB/phpbb/template')
-rw-r--r--phpBB/phpbb/template/twig/lexer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/template/twig/lexer.php b/phpBB/phpbb/template/twig/lexer.php
index 1a640e559e..7cb84167bf 100644
--- a/phpBB/phpbb/template/twig/lexer.php
+++ b/phpBB/phpbb/template/twig/lexer.php
@@ -237,7 +237,7 @@ class phpbb_template_twig_lexer extends Twig_Lexer
$code = preg_replace('# div by ([0-9]+)#', ' divisibleby($1)', $code);
// (ELSE)?\s?IF; match IF|ELSEIF|ELSE IF; replace ELSE IF with ELSEIF
- return preg_replace_callback('#<!-- (ELSE)?\s?IF(.+?)-->#', $callback, $code);
+ return preg_replace_callback('#<!-- (ELSE)?\s?IF(.+?)-->#', $callback, $code);
}
/**