[pmwiki-users] $PageUrl not being parsed

H. Fox haganfox at users.sourceforge.net
Sat Jan 28 16:09:09 CST 2006


On 1/28/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Sat, Jan 28, 2006 at 05:59:46PM +0000, Hans wrote:
> > I think i will update the script. And perhaps write
> >
> >    $ForumList['Forum'] = 'true';
> >
> > or perhaps set it as SDVA:
> > SDVA($ForumList, array(
> >    'Forum' => 'true',
> >    );
> >
> > using 'true' instead of 1 for slightly easier understanding.
>
> Still better would true without the quotes:
>
>     SDVA($ForumList, array(
>         'Forum' => true,
>         ));
>
> Otherwise someone might try $ForumList['Forum'] = 'false';
> and be surprised that it's not false.  :-)

IMHO using 1 and 0 is not nearly as obvious to non-programmers as
using true and false.

Hagan




More information about the pmwiki-users mailing list