1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 12:33:29 +01:00

[feature/template-events] Indentation fix.

PHPBB3-9550
This commit is contained in:
Nathan Guse 2012-10-31 12:03:22 -04:00 committed by Oleg Pudeyev
parent 6c7f1f7bde
commit 0141154ceb

View File

@ -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