From 0829623c0e10d5cc83e12547387b5fa0abaf43e0 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Thu, 14 Jun 2007 02:37:06 -0400 Subject: [PATCH] fixed tem::run() --- template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template.php b/template.php index ffc83e7..e386fe2 100644 --- a/template.php +++ b/template.php @@ -165,7 +165,7 @@ class tem { $template_string = read_whole_file($template_file); } - return template_run($this->template, $this->keyval); + return template_run($template_string, $this->keyval); } # same as run() except the output is print()ed -- 1.7.10.4