From: Jason Woofenden Date: Thu, 14 Jun 2007 06:37:06 +0000 (-0400) Subject: fixed tem::run() X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=commitdiff_plain;h=0829623c0e10d5cc83e12547387b5fa0abaf43e0 fixed tem::run() --- 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