[pmwiki-devel] Are Nested Conditions broken?

Stirling Westrup sti at pooq.com
Sun Sep 16 16:12:29 CDT 2007


I just tried to create a nested condition on my site to test if someone was
either an admin, or had edit rights, and wasn't currently editing. I figured
this should work:

  (: if ( auth admin || auth edit ) && ! action edit :)

But it doesn't seem to. I've tried a bunch of variations at pmwiki.org and get
the same results, as you can see here:

  http://pmwiki.org/wiki/Test/Conditions


So, are nested conditions broken, or am I doing something wrong?



More information about the pmwiki-devel mailing list