diff options
| author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-07-28 21:31:12 -0500 |
|---|---|---|
| committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-07-28 21:31:12 -0500 |
| commit | 0215e0bd95104c628cf084e1be0df72b2752346c (patch) | |
| tree | 30f7ae748ac8702ea5d5de2a53722e1f46bda56b | |
| parent | d5c56c5d503ea4b12852866e2d3b956e92a92aea (diff) | |
| download | forums-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
| -rw-r--r-- | phpBB/phpbb/template/twig/lexer.php | 2 |
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); } /** |
