Fix bug with broken variable

develop
Sven Slootweg 12 years ago
parent aa6bb1fc85
commit 38112ba6e3

@ -71,7 +71,7 @@ class NewTemplater
else else
{ {
$this->template = file_get_contents("templates/{$template_name}.tpl"); $this->template = file_get_contents("templates/{$template_name}.tpl");
$template_cache[$template_name] = $template; $template_cache[$template_name] = $this->template;
} }
if($template === false) if($template === false)

Loading…
Cancel
Save