Martin Gainty wrote:
good call dale!
http://freemarker.org/docs/ref_builtins_expert.html
implementing has_content will definitely detect no content condition

Rather than detecting no content, what we really want to do is insure that there is valid content. (The previous patch detected this condition and prevented a new assignment from being made, which meant the value from the previous iteration was erroneously re-used--had the first value been null I think it would have crashed.) My current patch (I'll upload today as soon as I clear this backlog of email!) does the assignment non-conditionally, but adds !"" to the end of the RHS, providing a default empty string in case the lookup failed/returned null.

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to