On 20 Feb 2009, at 12:57, Torsten Hinze wrote:

I have trouble with tal:attributes and the PHP value NULL (equals to

For example: <ul tal:attributes="id php: 0 ? 1 : NULL;">

In this case the <ul> should not have the id attribute, but in the HTML
code i found <ul id="">.

Is this a bug or what is my pitfall?

It's a bug that has been fixed in (currently latest) version 1.1.15. You just need to update your copy of PHPTAL.

regards, Kornel

PHPTAL mailing list

Reply via email to