default value for cache::get() changed from null to false

This commit is contained in:
Evan Prodromou 2010-01-04 09:59:47 -10:00
parent 928b5f8f2b
commit a1821ec8af
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class Cache
function get($key)
{
$value = null;
$value = false;
if (Event::handle('StartCacheGet', array(&$key, &$value))) {
if (array_key_exists($key, $this->_items)) {