forked from GNUsocial/gnu-social
default value for cache::get() changed from null to false
This commit is contained in:
parent
928b5f8f2b
commit
a1821ec8af
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user