PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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