aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-10-31 12:03:22 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2012-11-17 16:40:00 -0500
commit0141154ceb58702a308c76b45242cc47f51d3e01 (patch)
tree7586752763221f834e5d789da499421658f6c57d
parent6c7f1f7bdeba88fdef27fab537f973464bba6183 (diff)
downloadforums-0141154ceb58702a308c76b45242cc47f51d3e01.tar
forums-0141154ceb58702a308c76b45242cc47f51d3e01.tar.gz
forums-0141154ceb58702a308c76b45242cc47f51d3e01.tar.bz2
forums-0141154ceb58702a308c76b45242cc47f51d3e01.tar.xz
forums-0141154ceb58702a308c76b45242cc47f51d3e01.zip
[feature/template-events] Indentation fix.
PHPBB3-9550
-rw-r--r--phpBB/includes/template/filter.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/phpBB/includes/template/filter.php b/phpBB/includes/template/filter.php
index 8df43e5b01..5d9e00553f 100644
--- a/phpBB/includes/template/filter.php
+++ b/phpBB/includes/template/filter.php
@@ -940,9 +940,12 @@ class phpbb_template_filter extends php_user_filter
foreach ($files as $file)
{
$compiled = $this->template_compile->compile_file($file);
- if ($compiled === false) {
- trigger_error(sprintf('The file could not be compiled: %s', phpbb_filter_root_path($file)), E_USER_ERROR);
- }
+
+ if ($compiled === false)
+ {
+ trigger_error(sprintf('The file could not be compiled: %s', phpbb_filter_root_path($file)), E_USER_ERROR);
+ }
+
$all_compiled .= $compiled;
}
// Need spaces inside php tags as php cannot grok