Home » Caching » Cache » Bug #3515
Typo in Cache_Container_file
Details
| Submitted | 2005-02-18 10:05 UTC |
|---|---|
| From | Girish dot Nair1 at cognizant dot com |
| Assigned | dufuz |
| Status | Closed |
| Package | Cache |
| PHP Version | 4.3.8 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2005-02-18 10:05 UTC] Girish dot Nair1 at cognizant dot com
Description:
------------
I'm using Cache 1.5.4 . Using a third party PHP editor I found this typo in the file Cache/Container/file.php in line 265.
The code is reproduced below. The double quotes are not closed so as to put the value of $entry['file'] in the CacheError statement.
Reproduce code:
---------------
new CacheError("Can't delete {$entry["file"]}. Check the permissions.");
Expected result:
----------------
No error messages
Actual result:
--------------
Syntax Error:unexpected token: "]}. Check the permissions.