PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_Template_Sigma » Bug #6905

_getCache() function return false

Details

Submitted2006-02-23 13:45 UTC
Fromfvailleau at sqli dot com
Assignedavb
StatusClosed
PackageHTML_Template_Sigma
PHP Version4.3.4
OSWindows, Linux
Roadmaps(Not assigned)

Comments

[2006-02-23 13:45 UTC] fvailleau at sqli dot com

Description:
------------
In the _getCache() method, you are using the unserialize function which had problem with the \r character.

I placed the following ligne before the unserialize call and it works fine :
$content = str_replace("\r", "", $content);

Here is a post explain the bug :
http://fr3.php.net/manual/fr/function.unserialize.php#45347