Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.6

Bug #3515 Typo in Cache_Container_file
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)    
Subscription  


 [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.

Comments

 [2005-02-18 10:22 UTC] dufuz
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. Thought I had spotted all such issues, but seems I was wrong ;) Thanks for the bug report!