[pmwiki-users] Problems with markup substr and conditional markup name with php 5.5

Petko Yotov 5ko at 5ko.fr
Sat Jan 11 13:20:56 CST 2014

Petko Yotov writes:
> Benjamin Grassineau writes:
>> (:if1 name T*:) # all the page wich begins by T
>> Great
>>  (:if2 name TE*:) # only the page wich begins by TE.
>> Really great !
>>  (:if2:)
>> (:if1:)
>> Only the text Great can be viewed. The second condition is false. However,  
>> formally, it's true !
> I can confirm this bug, and I'll review it ASAP.

The bug concerned nested conditional markup where the definition (program  
code) contained the $pagename variable, that is

  if name
  if group
  if match
  if auth
  if expr

in the second or third nested levels always returned false.

I have fixed the bug and released version 2.2.59.



More information about the pmwiki-users mailing list