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 /phpBB/phpbb/template/twig/lexer.php | |
parent | [ticket/11724] Support "ELSE IF" and "ELSEIF" in the same way (diff) | |
download | phpbb-0215e0bd95104c628cf084e1be0df72b2752346c.tar.gz phpbb-0215e0bd95104c628cf084e1be0df72b2752346c.tar.bz2 phpbb-0215e0bd95104c628cf084e1be0df72b2752346c.zip |
[ticket/11724] Replace spaces with tabs
PHPBB3-11724
Diffstat (limited to 'phpBB/phpbb/template/twig/lexer.php')
-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); } /** |