[pmwiki-users] Possible bug in function PageExists()

Sebastian Siedentopf schlaefer at macnews.de
Thu Feb 2 05:46:41 CST 2006


Am 17.01.2006 um 20:04 schrieb Patrick R. Michaud:

> On Tue, Jan 17, 2006 at 07:18:13PM +0100, Sebastian Siedentopf wrote:
>> The function PageExists() in PmWiki 2.1beta20 returns true with an
>> empty string. PageExists("") results in 1.
>
> Yes, it's a bug, now fixed for beta21.
>
> Pm

The problem still seems to exists in 2.1beta22.

Today I experienced another problem with PageExists() and the Auto  
Restore recipe (http://www.pmwiki.org/pmwiki/uploads/Cookbook/ 
autorestore.php). When enabled every PageList() call afterwards seems  
to result in TRUE:

include_once('cookbook/autorestore.php');
PageExists("some string which is no pmwiki site");

Sebastian





More information about the pmwiki-users mailing list