Re: [phplib] Possible Bug in template.inc with PHP4 From: Ivo Kovarik (ivo <email protected>)
Date: 07/10/00

----------
>Von: Björn Schotte <bjoern <email protected>>
>An: phplib <email protected>
>Betreff: [phplib] Possible Bug in template.inc with PHP4
>Datum: Mon, 10. Jul 2000 18:59 Uhr
>

> Hi,
>
> if anyone of you uses (or wants to use) the method
> set_block() in your templates from version 7.2
> (line 109, I think):
>
> $str = preg_replace($reg, "{$name}", $str);
>
> has to be replaced to
>
> $str = preg_replace($reg, "\{$name}", $str);
>
>
> Perhaps someone could test if
>
> $str = preg_replace($reg, "\{$name}", $str);
>
> also works in PHP3?

doesn't work in PHP3 :-(

ivo

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>