]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
default value for cache::get() changed from null to false
authorEvan Prodromou <evan@status.net>
Mon, 4 Jan 2010 19:59:47 +0000 (09:59 -1000)
committerEvan Prodromou <evan@status.net>
Mon, 4 Jan 2010 19:59:47 +0000 (09:59 -1000)
lib/cache.php

index 253839fb17dbe75c9a9ce6751107b944099cd881..bac3499e5eed563b116c8b86a686b434cbaa72cb 100644 (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)) {