Home » HTML » HTML_Template_Sigma » Bug #6905
_getCache() function return false
Details
| Submitted | 2006-02-23 13:45 UTC |
|---|---|
| From | fvailleau at sqli dot com |
| Assigned | avb |
| Status | Closed |
| Package | HTML_Template_Sigma |
| PHP Version | 4.3.4 |
| OS | Windows, 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