FIXED! -- -- Re: [pmwiki-users] Custom Cookie Name does not prevent re-entering Author name at each EDIT?
xax at mclink.it
Thu Oct 20 14:19:48 CDT 2005
Patrick R. Michaud said the following on 20/10/2005 20.57:
> Aha. Based on the config.php you sent me, the problem appears to
> be the commentsmailed.php recipe, which is apparently destroying
> the value of the $Author variable in PmWiki. Commentsmailed.php
> is it's *always* setting the value of $Author from the most recent
> request, even when it should be coming from a cookie, or even when
> there is no previous request (in which case it's setting it to empty).
> What's more, since commentsmailed.php is setting the value of $Author,
> the normal author.php code doesn't set a cookie, since another module
> has apparently taken over the handling of the $Author variable.
> Try commenting out the line in commentsmailed.php (line 143?) that
> SDV($Author, $_REQUEST['author']); // should I?
> and see if that solves the Author problem.
It DID work!
It would be wise to update the related documentation AND the cookbook
More information about the pmwiki-users