[pmwiki-users] Conditional - nested expression?

Dominique Faure dominique.faure at gmail.com
Wed Jun 28 04:36:16 CDT 2006


On 6/28/06, Allister Jenks <arj at zkarj.co.nz> wrote:
> Should this work?
>
> (:if [ auth admin || [ authid && date 2006-06-01.. ] ] :)
>

The squared brackets are only handled on the upmost level. you must
provide parenthesis as in:

(:if [ auth admin || ( authid && date 2006-06-01.. ) ] :)

Regards,
Dom




More information about the pmwiki-users mailing list