On 16-11-2008 at 08:24:11 Dave Looker <[EMAIL PROTECTED]> wrote:

I needed to generate several templates all using the same set of data so I populated a single template and then reset the template before each execute.

However using setSource() to load a template instead of setTemplate() does not seem to properly reset the state of the template. I added the two lines

         $this->_prepared = false;
         $this->_functionName = null;

You're right. It's now fixed in SVN.

regards, Kornel

PHPTAL mailing list

Reply via email to