[phplib] Possible Bug in template.inc with PHP4 From: Björn Schotte (bjoern <email protected>)
Date: 07/10/00

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?

-- 
<?php class new_media_development {
        var $url="http://www.rent-a-phpwizard.de/";
        var $fon="0931/7843792"; var $fax="0931/7843795";
} /* Björn Schotte, "Mr. PHP" */ ?>

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