diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2015-05-16 13:39:45 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-05-16 13:39:45 +0200 |
commit | e52bc2d02283aab8fc0a588feec74ec8858c48f8 (patch) | |
tree | 7a78e12493e07884c97264dfd287015dce2cd073 /phpBB/phpbb/template/twig/tokenparser/includephp.php | |
parent | 1c0c9c1bca26744bb87f10271c636ce3b72eb85f (diff) | |
parent | 62e13e945c475c416c4fb9deff8f234d3508a598 (diff) | |
download | forums-e52bc2d02283aab8fc0a588feec74ec8858c48f8.tar forums-e52bc2d02283aab8fc0a588feec74ec8858c48f8.tar.gz forums-e52bc2d02283aab8fc0a588feec74ec8858c48f8.tar.bz2 forums-e52bc2d02283aab8fc0a588feec74ec8858c48f8.tar.xz forums-e52bc2d02283aab8fc0a588feec74ec8858c48f8.zip |
Merge pull request #3606 from Nicofuma/ticket/13838
[ticket/13838] Check braces for control structures
Diffstat (limited to 'phpBB/phpbb/template/twig/tokenparser/includephp.php')
-rw-r--r-- | phpBB/phpbb/template/twig/tokenparser/includephp.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/template/twig/tokenparser/includephp.php b/phpBB/phpbb/template/twig/tokenparser/includephp.php index 38196c5290..c09f7729b0 100644 --- a/phpBB/phpbb/template/twig/tokenparser/includephp.php +++ b/phpBB/phpbb/template/twig/tokenparser/includephp.php @@ -31,7 +31,8 @@ class includephp extends \Twig_TokenParser $stream = $this->parser->getStream(); $ignoreMissing = false; - if ($stream->test(\Twig_Token::NAME_TYPE, 'ignore')) { + if ($stream->test(\Twig_Token::NAME_TYPE, 'ignore')) + { $stream->next(); $stream->expect(\Twig_Token::NAME_TYPE, 'missing'); |