summaryrefslogtreecommitdiff
path: root/lib/cache.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-04 09:59:47 -1000
committerEvan Prodromou <evan@status.net>2010-01-04 09:59:47 -1000
commita1821ec8afd40c3ab88546a8fa2e6fc03a19ad25 (patch)
tree6d14c40c410c2589d4eea388d5d886a68cd43732 /lib/cache.php
parent928b5f8f2be554c37b0a435e76e88e92260e667b (diff)
default value for cache::get() changed from null to false
Diffstat (limited to 'lib/cache.php')
-rw-r--r--lib/cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cache.php b/lib/cache.php
index 253839fb1..bac3499e5 100644
--- a/lib/cache.php
+++ b/lib/cache.php
@@ -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)) {