aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/twig/node/includephp.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-05-16 13:39:45 +0200
committerJoas Schilling <nickvergessen@gmx.de>2015-05-16 13:39:45 +0200
commite52bc2d02283aab8fc0a588feec74ec8858c48f8 (patch)
tree7a78e12493e07884c97264dfd287015dce2cd073 /phpBB/phpbb/template/twig/node/includephp.php
parent1c0c9c1bca26744bb87f10271c636ce3b72eb85f (diff)
parent62e13e945c475c416c4fb9deff8f234d3508a598 (diff)
downloadforums-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/node/includephp.php')
-rw-r--r--phpBB/phpbb/template/twig/node/includephp.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/phpbb/template/twig/node/includephp.php b/phpBB/phpbb/template/twig/node/includephp.php
index 826617e8e8..659495fd9e 100644
--- a/phpBB/phpbb/template/twig/node/includephp.php
+++ b/phpBB/phpbb/template/twig/node/includephp.php
@@ -47,7 +47,8 @@ class includephp extends \Twig_Node
return;
}
- if ($this->getAttribute('ignore_missing')) {
+ if ($this->getAttribute('ignore_missing'))
+ {
$compiler
->write("try {\n")
->indent()
@@ -76,7 +77,8 @@ class includephp extends \Twig_Node
->write("}\n")
;
- if ($this->getAttribute('ignore_missing')) {
+ if ($this->getAttribute('ignore_missing'))
+ {
$compiler
->outdent()
->write("} catch (\Twig_Error_Loader \$e) {\n")