[pmwiki-users] Page variables with markup in them...
Patrick R. Michaud
pmichaud at pobox.com
Wed Sep 13 08:04:56 CDT 2006
On Tue, Sep 12, 2006 at 04:52:51PM -0400, The Editor wrote:
> Here's a bit more info on this perplexing problem. When I use the
> following code, I get both "hi" and the return value I want.
>
> case "log" :
> $FmtPV['$log'] = "hi";
> return GetLog($d,$_GET[id]);
> break;
>
> When I change it to
>
> case "log" :
> $FmtPV['$log'] = GetLog($d,$_GET[id]);
> break;
>
> I get a blank value for {$log}. No other changes. Really bizarre.
The first one is doing a "return", the second one isn't.
I don't know if that's the source of the problem (can't tell that
without more context), but it is a significant difference between
the two.
Pm
More information about the pmwiki-users
mailing list