JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed tem::run()
authorJason Woofenden <jason183@herkamire.com>
Thu, 14 Jun 2007 06:37:06 +0000 (02:37 -0400)
committerJason Woofenden <jason183@herkamire.com>
Thu, 14 Jun 2007 06:37:06 +0000 (02:37 -0400)
template.php

index ffc83e7..e386fe2 100644 (file)
@@ -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