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
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to