diff options
Diffstat (limited to 'phpBB/phpbb/template/twig/node/includephp.php')
| -rw-r--r-- | phpBB/phpbb/template/twig/node/includephp.php | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/phpBB/phpbb/template/twig/node/includephp.php b/phpBB/phpbb/template/twig/node/includephp.php index 826617e8e8..76182c2f84 100644 --- a/phpBB/phpbb/template/twig/node/includephp.php +++ b/phpBB/phpbb/template/twig/node/includephp.php @@ -14,7 +14,6 @@  namespace phpbb\template\twig\node; -  class includephp extends \Twig_Node  {  	/** @var \Twig_Environment */ @@ -47,7 +46,8 @@ class includephp extends \Twig_Node  			return;  		} -		if ($this->getAttribute('ignore_missing')) { +		if ($this->getAttribute('ignore_missing')) +		{  			$compiler  				->write("try {\n")  				->indent() @@ -76,7 +76,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")  | 
