From: Evan Prodromou Date: Mon, 4 Jan 2010 19:59:47 +0000 (-1000) Subject: default value for cache::get() changed from null to false X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a1821ec8afd40c3ab88546a8fa2e6fc03a19ad25;p=quix0rs-gnu-social.git default value for cache::get() changed from null to false --- diff --git a/lib/cache.php b/lib/cache.php index 253839fb17..bac3499e5e 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)) {