[Pmwiki-users] Typo in earlier patch

Patrick R. Michaud pmichaud
Fri Jan 23 11:10:42 CST 2004


On Fri, Jan 23, 2004 at 05:40:04PM +0100, Christian Ridderstr?m wrote:
> 
> A PHP-question. What happens with
> 	if($pagename=="") ...
> if $pagename doesn't exist. Will the condition be true or false? (to be on 
> the safe side I did:
> 	if("$pagename"=="") ...

Any variable that doesn't exist is treated as if it were "" for
comparison purposes.

Pm



More information about the pmwiki-users mailing list