package: interchange
version: 5.4.1-1
tags: confirmed upstream

The following code exposes a problem parsing nested elsifs
with named parameters. The result is "INCORRECT 2" instead
of "CORRECT".

[tmpn name="test"]1[/tmpn]
[if type="scratch" term="test" op="eq" compare="2"]
INCORRECT 1
[elsif type="scratch" term="test" op="eq" compare="1"]
      [if type="scratch" term="test" op="eq" compare="2"]
INCORRECT 2
      [elsif type="scratch" term="test" op="eq" compare="1"]
CORRECT
      [/elsif]
      [/if]
[/elsif]
[/if]

-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to