diff options
Diffstat (limited to 'phpBB/includes/template.php')
| -rw-r--r-- | phpBB/includes/template.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index 831f455f35..6c90b95b1b 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -223,7 +223,7 @@ class template // Try and open template for read if (!($fp = @fopen($this->files[$handle], 'r'))) { - trigger_error("template->_tpl_load(): File " . $this->files[$handle] . " does not exist or is empty", E_USER_ERROR); + trigger_error("template->_tpl_load_file(): File {$this->files[$handle]} does not exist or is empty", E_USER_ERROR); } $this->compiled_code[$handle] = $this->compile(trim(@fread($fp, filesize($this->files[$handle])))); @@ -346,7 +346,6 @@ class template { $this->compile_var_tags($text_blocks[$i]); } - $compile_blocks = array(); for ($curr_tb = 0; $curr_tb < count($text_blocks); $curr_tb++) |
