[pmwiki-users] possible bug in newpagebox for save=false

Hans design5 at softflow.co.uk
Sun Apr 27 02:30:16 CDT 2008


Sunday, April 27, 2008, 6:27:10 AM, adam overton wrote:

> after toiling around with the newpagebox recipe for a bit, it appears
> that the result in setting save=true and save=false is no different -
> it redirects the same everytime (to the saved, non-edit-mode, page).  
> rather - i found that setting save=1 and save=0 actually redirected  
> correctly - to the actual page in the former, and to the edit-mode  
> version in the latter...

To me save=true worked correctly, but save=false would be the same as
save=true or save=1 (or any other value apart from 0).

Anyway, i fixed this now so only save=true or save=1 will result in a
direct page save, without opening the new page in edit mode.

See http://www.pmwiki.org/wiki/Cookbook/NewPageBoxPlus


  ~Hans




More information about the pmwiki-users mailing list