[pmwiki-users] Bug or mis-feature in transition.php?

john.rankin at affinity.co.nz john.rankin at affinity.co.nz
Sun Jun 29 17:50:10 CDT 2008


We may have found a bug in transition.php.
If a local customisation sets (in this case):

  $Transition['fplbygroup'] = 1;

This appears to cause transition.php to evaluate
(@$Transition['version'] < vnnnmmm) as always true,
thereby turning all $Transition array settings to 1.
The fix is to add this at the start of local/config.php:

  $Transition['version'] = 2001999;

Or explicitly setting individual $Transition['fixup']
elements to 0.

Is this a bug or a feature?

JR





More information about the pmwiki-users mailing list