PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!
Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
FS#131 - Section special variables do not work properly after negation
Opened by Zyx (Zyx) - Monday, 12 October 2009, 12:51 GMT-8
Last edited by Zyx (Zyx) - Friday, 16 October 2009, 02:01 GMT-8
The expression in section:
<div opt:if="not $system.section.foo.last"></div>
The div should in all except the last item.
The div appears in the first result.
The expression works as expected only if the special variable is put in parentheses:
<div opt:if="not ($system.section.foo.last)"></div>
Friday, 16 October 2009, 02:01 GMT-8
Reason for closing: Fixed
Additional comments about closing: Fixed in rev. 251, 252