From 5bdf51dec181aedfc77b0b515cf549a8af0e1c38 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 4 Jun 2013 00:45:28 -0400 Subject: [PATCH] Pass a variable that is actually defined to MarkTemplateRendered in Template::Render. --- views/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/template.php b/views/template.php index e67d272..c9ca39c 100644 --- a/views/template.php +++ b/views/template.php @@ -142,7 +142,7 @@ class Template error_reporting($error); if (Profiling::IsProfilingEnabled()) - TemplateLoader::GetInstance()->MarkTemplateRendered($this->name); + TemplateLoader::GetInstance()->MarkTemplateRendered($this->template_name); $data = ob_get_contents(); ob_end_clean(); -- 2.22.5