[pmwiki-users] CondAuth ignores $HandleAuth: Bug?
sti at pooq.com
sti at pooq.com
Sat Oct 6 16:53:55 CDT 2007
Stirling Westrup wrote:
> @list($level, $pn) = explode(' ', $condparm, 2);
> $level = array_key_exists($level,$HandleAuth) ? $HandleAuth[$level] :
> $level;
> $pn = ($pn > '') ? MakePageName($pagename, $pn) : $pagename;
> msg("lvl=$level, ha=$HandleAuth[$level], pn=$pn");
> return (boolean)RetrieveAuthPage($pn, $level, false, READPAGE_CURRENT);
Oops. Remove the line that starts 'msg(...'. Its a left-over bit of debug code.
More information about the pmwiki-users
mailing list