Re: [PHPTAL] Bug: PHP Warning if template hasn't been parsed yet

2008-01-29 Thread Kornel Lesinski


On 29 Jan 2008, at 13:33, [EMAIL PROTECTED] wrote:

After upgrading to 1.1.10, I always get a PHP warning when a new  
template is being parsed.


Warning: Invalid argument supplied for foreach() in /srv/www/httpd/ 
phost/d/de/pytalhost/diplomtrottel/web/Include/class.PHPTAL.php on  
line 378


Thanks. I've found the bug and fix it in next release.

For now, if you don't use the new phptal:cache, you can simply delete  
the offending foreach() loop starting in line 378.


--
regards, Kornel


___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal


[PHPTAL] Bug: PHP Warning if template hasn't been parsed yet

2008-01-29 Thread der-fette-mo
After upgrading to 1.1.10, I always get a PHP warning when a new  
template is being parsed.


Warning: Invalid argument supplied for foreach() in  
/srv/www/httpd/phost/d/de/pytalhost/diplomtrottel/web/Include/class.PHPTAL.php  
on line 378


(Wow, I'm using a mailing list for the first time in my life ;))

Mo


___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal