Re: Cache_Lite patch
| From: | Jon Parise | Date: | Tue, 14 Jan 2003 15:04:43 +0000 |
| Subject: | Re: Cache_Lite patch | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-12409@lists.php.net to get a copy of this message | ||
On Tue, Jan 14, 2003 at 10:03:19AM +0100, Lorenzo Alberton wrote:
> I attached a diff to suppress two NOTICEs if cache is not existent yet.
> This originated with the introduction of MemoryCache and applies to
> current CVS.
[snip]
> - if (($data) and ($this->_memoryCaching)) {
> + if (isset($data) && $data && ($this->_memoryCaching)) {
if (!empty($data) && $this->_memoryCaching) {
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)